[Bug libc/1949] New: _IO_str_init_static() returning non-void

heiko dot nardmann at secunet dot com sourceware-bugzilla@sourceware.org
Wed Nov 30 08:06:00 GMT 2005


My lint tool complains about the following function inside libio/strops.c 
returning something being not void. Please omit the 'return' keyword. 
 
void  
_IO_str_init_static (sf, ptr, size, pstart)  
     _IO_strfile *sf;  
     char *ptr;  
     int size;  
     char *pstart;  
{  
  return _IO_str_init_static_internal (sf, ptr, size < 0 ? -1 : size, pstart);  
}

-- 
           Summary: _IO_str_init_static() returning non-void
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: heiko dot nardmann at secunet dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=1949

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list