Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a useless comment added
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 14 Nov 2006 15:33:03 +0000 (15:33 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 14 Nov 2006 15:33:03 +0000 (15:33 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2926 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surfxml_parse.c

index 84294fe..c8d2f0c 100644 (file)
@@ -168,7 +168,7 @@ void ETag_surfxml_argument(void)
 }
 
 void  surf_parse_open(const char *file) {
-  static int warned = 0;
+  static int warned = 0; /* warn only once */
   if(!file) {
     if (!warned) {
       WARN0("Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.");