|
From: | Kai Torben Ohlhus |
Subject: | [Octave-patch-tracker] [patch #8567] Remove unnecessary build warnings in Faddeeva.cc. |
Date: | Mon, 10 Nov 2014 15:51:59 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36 |
URL: <http://savannah.gnu.org/patch/?8567> Summary: Remove unnecessary build warnings in Faddeeva.cc. Project: GNU Octave Submitted by: siko1056 Submitted on: Mon 10 Nov 2014 04:51:57 PM CET Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: The attached patch addresses the following warnings: liboctave/cruft/Faddeeva/Faddeeva.cc:587:14: warning: declaration of 'x2' shadows a previous local [-Wshadow] double x2 = x*x, y2 = y*y; ^ liboctave/cruft/Faddeeva/Faddeeva.cc:567:12: note: shadowed declaration is here double x2 = x*x; ^ liboctave/cruft/Faddeeva/Faddeeva.cc: In function 'double erfcx_y100(double)': liboctave/cruft/Faddeeva/Faddeeva.cc:1013:17: warning: use of old-style cast [-Wold-style-cast] switch ((int) y100) { ^ liboctave/cruft/Faddeeva/Faddeeva.cc: In function 'double w_im_y100(double, double)': liboctave/cruft/Faddeeva/Faddeeva.cc:1457:17: warning: use of old-style cast [-Wold-style-cast] switch ((int) y100) { ^ _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 10 Nov 2014 04:51:57 PM CET Name: faddeeva.cc.diff Size: 2kB By: siko1056 <http://savannah.gnu.org/patch/download.php?file_id=32398> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?8567> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |