Description of Problem: Hello there, I just tried to compile package xcdroast-0.98a9-18 from Redhat 8.0. Here are some of the compiler messages. init.c:280: warning: `return' with no value, in function returning non-void Here is a patch which fixes the messages. *** ./init.c.old 2002-11-06 14:33:04.000000000 +0000 --- ./init.c 2002-11-06 14:36:48.000000000 +0000 *************** *** 277,285 **** /* file does exist? */ if (stat(file,&buf) == 0) { if (!(buf.st_mode & S_ISGID)) { - return; g_warning("Installation problem? No set-gid bit on %s\n", file); dodebug(1,"Warning: No set-gid bit on %s\n", file); } return buf.st_gid; --- 277,285 ---- /* file does exist? */ if (stat(file,&buf) == 0) { if (!(buf.st_mode & S_ISGID)) { g_warning("Installation problem? No set-gid bit on %s\n", file); dodebug(1,"Warning: No set-gid bit on %s\n", file); + return (gid_t) 0; } return buf.st_gid; Version-Release number of selected component (if applicable): How Reproducible: Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information:
fixed