Skip to content

Commit ea71e78

Browse files
committed
FIX: unreferenced local variable warnings
1 parent 88e2e89 commit ea71e78

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/core/m-pools.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ const REBPOOLSPEC Mem_Pool_Spec[MAX_POOLS] =
10241024
**
10251025
***********************************************************************/
10261026
{
1027-
REBSEG *seg, *next;
1027+
REBSEG *seg;
10281028
REBHOB *hob;
10291029
REBCNT n;
10301030

@@ -1050,7 +1050,6 @@ const REBPOOLSPEC Mem_Pool_Spec[MAX_POOLS] =
10501050
***********************************************************************/
10511051
{
10521052
REBSEG *seg, *next;
1053-
REBHOB *hob;
10541053
REBCNT n;
10551054

10561055
//Dump_Pools();

src/os/host-ext-test.c

+6-5
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,11 @@ char *RX_Spec =
113113
"vec0: command [{return vector size in bytes} v [vector!]]\n"
114114
"vec1: command [{return vector size in bytes (from object)} o [object!]]\n"
115115
"blk1: command [{print type ids of all values in a block} b [block!]]\n"
116-
"hob1: command [{creates XTEST handle} bin [binary!] /with hnd [handle!]]"
117-
"hob2: command [{prints XTEST handle's data} hndl [handle!]]"
118-
"str0: command [{return a constructed string}]"
119-
"echo: command [{return the input value} value]"
116+
"hob1: command [{creates XTEST handle} bin [binary!] /with hnd [handle!]]\n"
117+
"hob2: command [{prints XTEST handle's data} hndl [handle!]]\n"
118+
"str0: command [{return a constructed string}]\n"
119+
"echo: command [{return the input value} value]\n"
120+
"ref1: command [/a [integer!]]\n"
120121

121122
"init-words [id data length] protect/hide 'init-words\n"
122123
"a: b: c: h: x: y: none\n"
@@ -397,7 +398,7 @@ RXIEXT int RX_Call(int cmd, RXIFRM *frm, void *ctx) {
397398
REBHOB* hob = RXA_HANDLE(frm, 1);
398399
if (hob->sym == Handle_XTest) {
399400
XTEST* data = (XTEST*)hob->data;
400-
REBSER *bin, *ser;
401+
REBSER *bin;
401402
REBCNT type;
402403
if (data->flags == 1) {
403404
type = RL_GET_VALUE(hob->series, 0, &RXA_ARG(frm, 2));

src/os/win32/dev-audio.c

-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ IXAudio2VoiceCallback xAudioCallbacks = {
197197
**
198198
***********************************************************************/
199199
{
200-
HRESULT hr;
201200
IXAudio2SourceVoice *voice;
202201
XAUDIO2_BUFFER xaudioBuffer = { 0 };
203202
voice = req->handle;

0 commit comments

Comments
 (0)