[GRASS-dev] G_message () family of functions

Ivan Shmakov ivan at theory.asu.ru
Sun Jan 27 05:40:32 EST 2008


>>>>> Markus Neteler <neteler at osgeo.org> writes:

[...]

 > BTW: there is this (unrelated) warning: error.c: In function
 > 'print_sentence': error.c:531: warning: value computed is not used

	IIUC, it's harmless.  The attached patch should make it go away.

[...]

-------------- next part --------------
--- lib/gis/error.c	2008-01-27 16:34:31.000000000 +0600
+++ lib/gis/error.c	2008-01-27 16:36:19.000000000 +0600
@@ -528,7 +528,7 @@
 	    next++;
 		
 	    if ( *next == '\n' ) {
-	        *next++;
+	        next++;
 		break;
 	    }
 	}


More information about the grass-dev mailing list