[svn] gcry - r1430 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Mon Apr 19 19:08:13 CEST 2010
Author: marcus
Date: 2010-04-19 19:08:12 +0200 (Mon, 19 Apr 2010)
New Revision: 1430
Modified:
trunk/src/ChangeLog
trunk/src/misc.c
Log:
2010-04-19 Marcus Brinkmann <marcus at g10code.de>
* misc.c (write2stderr): Dummy variable to silence gcc warning.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2010-04-16 02:03:49 UTC (rev 1429)
+++ trunk/src/ChangeLog 2010-04-19 17:08:12 UTC (rev 1430)
@@ -1,3 +1,7 @@
+2010-04-19 Marcus Brinkmann <marcus at g10code.de>
+
+ * misc.c (write2stderr): Dummy variable to silence gcc warning.
+
2010-04-16 Marcus Brinkmann <marcus at g10code.de>
* sexp.c: (sexp_sscan): Make it variable length, and rename the old version to ...
Modified: trunk/src/misc.c
===================================================================
--- trunk/src/misc.c 2010-04-16 02:03:49 UTC (rev 1429)
+++ trunk/src/misc.c 2010-04-19 17:08:12 UTC (rev 1430)
@@ -63,7 +63,9 @@
static void
write2stderr( const char *s )
{
- write( 2, s, strlen(s) );
+ /* Dummy variable to silence gcc warning. */
+ int res = write( 2, s, strlen(s) );
+ (void) res;
}
/*
More information about the Gnupg-commits
mailing list