Skip to content

Commit

Permalink
FIX: unreferenced local variable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Sep 13, 2023
1 parent 88e2e89 commit ea71e78
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/core/m-pools.c
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ const REBPOOLSPEC Mem_Pool_Spec[MAX_POOLS] =
**
***********************************************************************/
{
REBSEG *seg, *next;
REBSEG *seg;
REBHOB *hob;
REBCNT n;

Expand All @@ -1050,7 +1050,6 @@ const REBPOOLSPEC Mem_Pool_Spec[MAX_POOLS] =
***********************************************************************/
{
REBSEG *seg, *next;
REBHOB *hob;
REBCNT n;

//Dump_Pools();
Expand Down
11 changes: 6 additions & 5 deletions src/os/host-ext-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ char *RX_Spec =
"vec0: command [{return vector size in bytes} v [vector!]]\n"
"vec1: command [{return vector size in bytes (from object)} o [object!]]\n"
"blk1: command [{print type ids of all values in a block} b [block!]]\n"
"hob1: command [{creates XTEST handle} bin [binary!] /with hnd [handle!]]"
"hob2: command [{prints XTEST handle's data} hndl [handle!]]"
"str0: command [{return a constructed string}]"
"echo: command [{return the input value} value]"
"hob1: command [{creates XTEST handle} bin [binary!] /with hnd [handle!]]\n"
"hob2: command [{prints XTEST handle's data} hndl [handle!]]\n"
"str0: command [{return a constructed string}]\n"
"echo: command [{return the input value} value]\n"
"ref1: command [/a [integer!]]\n"

"init-words [id data length] protect/hide 'init-words\n"
"a: b: c: h: x: y: none\n"
Expand Down Expand Up @@ -397,7 +398,7 @@ RXIEXT int RX_Call(int cmd, RXIFRM *frm, void *ctx) {
REBHOB* hob = RXA_HANDLE(frm, 1);
if (hob->sym == Handle_XTest) {
XTEST* data = (XTEST*)hob->data;
REBSER *bin, *ser;
REBSER *bin;
REBCNT type;
if (data->flags == 1) {
type = RL_GET_VALUE(hob->series, 0, &RXA_ARG(frm, 2));
Expand Down
1 change: 0 additions & 1 deletion src/os/win32/dev-audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ IXAudio2VoiceCallback xAudioCallbacks = {
**
***********************************************************************/
{
HRESULT hr;
IXAudio2SourceVoice *voice;
XAUDIO2_BUFFER xaudioBuffer = { 0 };
voice = req->handle;
Expand Down

0 comments on commit ea71e78

Please sign in to comment.