2002-12-23 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Mon, 23 Dec 2002 17:47:01 +0000 (17:47 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 23 Dec 2002 17:47:01 +0000 (17:47 +0000)
* data-mem.c (mem_release): Fix gcc warning.
* data-user.c (user_release): Likewise.

trunk/gpgme/ChangeLog
trunk/gpgme/data-mem.c
trunk/gpgme/data-user.c

index d4aac86800534e8dc97adaa86afcfa72b650addb..bde2e97a1fb405de7fed57338740bea6dbac3f46 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-23  Marcus Brinkmann  <marcus@g10code.de>
+
+       * data-mem.c (mem_release): Fix gcc warning.
+       * data-user.c (user_release): Likewise.
+
 2002-12-06  Marcus Brinkmann  <marcus@g10code.de>
 
        * data.h (gpgme_data_release_cb): Change return type to void.
index 3c22fbdb7b7243af26990052c524b3737a50f811..789ceb3b4239332e689c6683c67e0bec8edf523c 100644 (file)
@@ -145,7 +145,6 @@ mem_release (GpgmeData dh)
 {
   if (dh->data.mem.buffer)
     free (dh->data.mem.buffer);
-  return 0;
 }
 
 
index f67c0fe7abfad6e22096bb6464f777e6d18369a3..2d3cb5d488bb1a4e8a68314b0b81f07db4c57813 100644 (file)
@@ -51,7 +51,6 @@ static void
 user_release (GpgmeData dh)
 {
   (*dh->data.user.cbs->release) (dh->data.user.handle);
-  return 0;
 }