[NeXus-code-tickets] [NeXusCode] #204: Eliminate compiler warnings in Visual Studio compiler
NeXus Data Format Library and Applications
noreply at nexusformat.org
Thu Dec 17 07:39:19 GMT 2009
#204: Eliminate compiler warnings in Visual Studio compiler
----------------------------+-----------------------------------------------
Reporter: Pedro.vicente | Owner: Pedro.vicente
Type: enhancement | Status: assigned
Priority: trivial | Milestone: 4.3.0
Component: napi | Version: trunk
Resolution: | Keywords: compiler warnings
----------------------------+-----------------------------------------------
Comment(by Pedro.vicente):
(In [1387]) Eliminated the following compiler warnings, due to declared
but used variables
\src\nxdataset.c(181) : warning C4101: 'value' : unreferenced local
variable
\src\nxdataset.c(232) : warning C4101: 'length' : unreferenced local
variable
\src\napi.c(234) : warning C4101: 'fapl' : unreferenced local variable
\src\napi.c(235) : warning C4101: 'handle' : unreferenced local variable
\src\napi.c(285) : warning C4101: 'hfile' : unreferenced local variable
\src\napi.c(1213) : warning C4101: 'pathElem' : unreferenced local
variable
\src\napi.c(1242) : warning C4101: 'status' : unreferenced local variable
\src\napi.c(1278) : warning C4101: 'status' : unreferenced local variable
\src\napi.c(1408) : warning C4101: 'timeData' : unreferenced local
variable
Solution: deleted the variables
Systems and compilers tested:
Windows 7, Microsoft Visual Studio 2008
Mac PPC G4 OS 10.5 , gcc 4.0.1
refs #204
--
Ticket URL: <http://trac.nexusformat.org/code/ticket/204#comment:5>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications
More information about the NeXus-code-tickets
mailing list