Bug 156967

Summary: plotmtv-1.4.1-1019: bad return value
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Michael Andres <ma>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-03-10 10:12:37 UTC
I just tried to compile package plotmtv-1.4.1-1019 with the GNU C compiler.

It said

plotX11_cmn.c:642: warning: function returns address of local variable

The source code is

   return(hex_str);

Suggest code rework. The address of a local variable doesn't mean anything
outside the called routine.
Comment 1 Michael Andres 2007-01-26 21:16:01 UTC

*** This bug has been marked as a duplicate of bug 152043 ***