From: <n-...@us...> - 2010-11-19 02:55:43
|
Revision: 4927 http://gfarm.svn.sourceforge.net/gfarm/?rev=4927&view=rev Author: n-soda Date: 2010-11-19 02:55:37 +0000 (Fri, 19 Nov 2010) Log Message: ----------- back out one of the changes in r4926 to fix the following warning on gcc-4.1.2: warning: may be used uninitialized Modified Paths: -------------- gfarm_v2/trunk/gftool/gfpath/gfpath.c Modified: gfarm_v2/trunk/gftool/gfpath/gfpath.c =================================================================== --- gfarm_v2/trunk/gftool/gfpath/gfpath.c 2010-11-19 01:49:32 UTC (rev 4926) +++ gfarm_v2/trunk/gftool/gfpath/gfpath.c 2010-11-19 02:55:37 UTC (rev 4927) @@ -63,6 +63,9 @@ default: usage(); /*NOTREACHED*/ +#ifdef __GNUC__ /* workaround gcc warning: may be used uninitialized */ + s = NULL; +#endif } if (s == NULL) { fprintf(stderr, "%s: no memory for \"%s\"\n", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |