You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by go...@apache.org on 2004/10/12 00:54:07 UTC
cvs commit: modperl-2.0/xs/APR/Bucket APR__Bucket.h
gozer 2004/10/11 15:54:07
Modified: xs/APR/Bucket APR__Bucket.h
Log:
Fix warning on SvUPGRADE() in void context:
value computed is not used
Revision Changes Path
1.17 +1 -1 modperl-2.0/xs/APR/Bucket/APR__Bucket.h
Index: APR__Bucket.h
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/APR/Bucket/APR__Bucket.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- APR__Bucket.h 6 Oct 2004 02:01:44 -0000 1.16
+++ APR__Bucket.h 11 Oct 2004 22:54:07 -0000 1.17
@@ -26,7 +26,7 @@
if (sv == Nullsv) {
sv = newSV(0);
- SvUPGRADE(sv, SVt_PV);
+ (void)SvUPGRADE(sv, SVt_PV);
}
(void)SvPV(sv, full_len);