Add more explicit casts and remove dead code

Comment unused SERVER from DeviceShutdown.
Comment unused max from parse_hostport.
Comment unused nodeptr from ixmlNode_cloneDoc.
Comment unused newNode from Parser_hasDefaultNamespace.
Comment unused Parser_parseReference function
Check return code of shutdown and display an error if needed.
This commit is contained in:
Fabrice Fontaine
2012-03-15 14:49:26 +01:00
parent c9f3e26f24
commit cb07623dde
13 changed files with 159 additions and 118 deletions

View File

@@ -287,7 +287,7 @@ int parse_hostport(
/*! [in] String of characters representing host and port. */
const char *in,
/*! [in] Sets a maximum limit. */
size_t max,
/*size_t max,*/
/*! [out] Output parameter where the host and port are represented as
* an internet address. */
hostport_type *out);