On 2015-06-01 17:32-0400 Jim Dishaw wrote:

>>> On May 31, 2015, at 9:32 PM, Alan W. Irwin <ir...@beluga.phys.uvic.ca> 
>>> wrote:
>>> The remaining warnings are
>>>
>>> /home/software/plplot/HEAD/plplot.git/src/plmetafile.c: In function 
>>> ‘read_header’:
>>> /home/software/plplot/HEAD/plplot.git/src/plmetafile.c:341:8: warning: 
>>> ‘pdf_rc’ may be used uninitialized in this function [-Wuninitialized]
>>> /home/software/plplot/HEAD/plplot.git/src/plmetafile.c:306:9: note: 
>>> ‘pdf_rc’ was declared here
>>> /home/software/plplot/HEAD/plplot.git/src/plmetafile.c: In function 
>>> ‘plreadmetafile’:
>>> /home/software/plplot/HEAD/plplot.git/src/plmetafile.c:378:23: warning: 
>>> ‘plm’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>>> /home/software/plplot/HEAD/plplot.git/src/plmetafile.c:1117:14: note: ‘plm’ 
>>> was declared here
>>>
>
> I think these two patches will fix the warnings (I don’t get any warnings 
> with clang, but it does not have the -Wmaybe-uninitialized option).

The above warnings were fixed by your two commits.

Pushed and thanks!

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to