Drop an extra unused argument to fscanf
[charm.git] / src / conv-core / global-elfcopy.C
index 6bb2cde4ce8bbdf0faf26ae1a3ca18a9b54e3e79..811b9c2eea5f05baaac56ce02f879346068f06d9 100644 (file)
@@ -178,8 +178,7 @@ printf("Loading globals from file \"%s\" ... \n", fname);
     while (!feof(gf)) 
     {
       char name[1024];
-      int size;
-      fscanf(gf, "%s\n", &name, &size);
+      fscanf(gf, "%s\n", &name);
       _namelist.push_back(strdup(name));
     }
     fclose(gf);