PPPort: silence a recent compiler warning
authorDavid Mitchell <davem@iabyn.com>
Wed, 17 Jan 2018 14:15:11 +0000 (14:15 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 17 Jan 2018 14:15:11 +0000 (14:15 +0000)
RealPPPort.c: In function ‘XS_Devel__PPPort_die_sv’:
RealPPPort.xs:1522:9: warning: variable ‘op’ set but not used [-Wunused-but-set-variable]
     OP *op;

dist/Devel-PPPort/parts/inc/mess

index 28d0b26..965e58a 100644 (file)
@@ -256,10 +256,8 @@ CODE:
 void
 die_sv(sv)
     SV *sv
-PREINIT:
-    OP *op;
 CODE:
-    op = die_sv(sv);
+    (void)die_sv(sv);
 
 void
 warn_sv(sv)