Revision 1605 trunk/tests/xml/ADMB_XMLDoc.cpp

ADMB_XMLDoc.cpp (revision 1605)
74 74
 */
75 75
int ADMB_XMLDoc::write(void)
76 76
{
77
   int nbyte = xmlSaveFormatFileEnc((const char*)XMLFileName.c_str(),doc, "UTF-8", 1);
77
   int nbyte = 0;
78
   nbyte = xmlSaveFormatFileEnc((const char*)XMLFileName.c_str(),doc, "UTF-8", 1);
78 79
   return  nbyte;
79 80
}
80 81

  

Also available in: Unified diff