Skip to content

Commit 0025759

Browse files
EricGTJanWielemaker
authored andcommitted
CLEANUP: Avoid unreferenced variable warning for MSVC
1 parent 2349aff commit 0025759

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pl-load.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,8 @@ blocked_unload_shared_objects(void)
192192
if ( vg == -1 )
193193
{
194194
#ifdef __SANITIZE_ADDRESS__
195-
char *s;
196-
197195
#ifndef __WINDOWS__
196+
char *s;
198197
if ( (s=getenv("ASAN_OPTIONS")) && strstr(s,"detect_leaks=1") )
199198
#endif
200199
{ vg = true;

0 commit comments

Comments
 (0)