Bug 1861

Summary: missing return expression in attributes.c/AppendEntry()
Product: xprint Reporter: dcb314
Component: Server: OtherAssignee: Roland Mainz <roland.mainz>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: high CC: roland.mainz
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description dcb314 2004-11-15 03:48:10 UTC
Hello there,

I just tried to compile X11R6.8.1 with the most excellent Intel C
8.1 compiler, on a Linux Fedora Core 3 box. The compiler said

attributes.c(819): warning #117: non-void function "AppendEntry" should return a
value

The source code is in file

programs/Xserver/Xprint/attributes.c

The source code is

    if (*type != XrmQString)
    return;

Suggest add expression into return statement.
Comment 1 Corbin Simpson 2011-09-13 14:08:58 UTC
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.