[Webkit-unassigned] [Bug 54190] New: Fix ignore return warning in OSRandomSource.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 10 03:56:23 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54190

           Summary: Fix ignore return warning in OSRandomSource.cpp
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pvarga at webkit.org
                CC: ossy at webkit.org, abecsi at webkit.org


I got this warning with gcc-4.4.5:

cc1plus: warnings being treated as errors
../../../Source/JavaScriptCore/wtf/OSRandomSource.cpp: In function 'void WTF::randomValuesFromOS(unsigned char*, size_t)':
../../../Source/JavaScriptCore/wtf/OSRandomSource.cpp:53: error: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list