diff --git a/cint/cint/src/macro.cxx b/cint/cint/src/macro.cxx
index 803464cd89d1dd48d98b3562044394ff56317166..516580bbfa13022005815eaa6c6c551192869c4b 100644
--- a/cint/cint/src/macro.cxx
+++ b/cint/cint/src/macro.cxx
@@ -732,6 +732,8 @@ G__value G__execfuncmacro(const char* item, int* done)
    fpos_t call_pos;
    if (G__ifile.fp) {
       fgetpos(G__ifile.fp, &call_pos);
+   } else {
+      memset(&call_pos,0,sizeof(fpos_t));
    }
    //
    //  Search for translated macro function.