This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]