summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4a85058)
hi all,
here is a trival path to fix warning [-Wunused-but-set-variable].
Thanks.
Tinggong
Signed-off-by: Tinggong <wangtinggong@gmail.com>
int iscsi_connect_async(struct iscsi_context *iscsi, const char *target, iscsi_command_cb cb, void *private_data)
{
int iscsi_connect_async(struct iscsi_context *iscsi, const char *target, iscsi_command_cb cb, void *private_data)
{
int port = 3260;
char *str;
char *addr;
int port = 3260;
char *str;
char *addr;
/* check if we have a target portal group tag */
if ((str = rindex(addr, ',')) != NULL) {
/* check if we have a target portal group tag */
if ((str = rindex(addr, ',')) != NULL) {
*/
static XmlNode* xml_parse(struct XMLBUF *xml)
{
*/
static XmlNode* xml_parse(struct XMLBUF *xml)
{
int toff;
char **tmp;
char *stmp;
XmlNode **this, *ret = NULL;
int toff;
char **tmp;
char *stmp;
XmlNode **this, *ret = NULL;
this = &ret;
xml_skip(xml, XML_SPACE); // skip whitespace
this = &ret;
xml_skip(xml, XML_SPACE); // skip whitespace
while( (xml->read_index < xml->len) || !xml->eof )
{
switch(is_special(xml_peek(xml)))
while( (xml->read_index < xml->len) || !xml->eof )
{
switch(is_special(xml_peek(xml)))