Browse Source

* missing result initialization in node2opstr

peter 21 years ago
parent
commit
f4e7f793f5
1 changed files with 5 additions and 1 deletions
  1. 5 1
      compiler/htypechk.pas

+ 5 - 1
compiler/htypechk.pas

@@ -165,6 +165,7 @@ implementation
       var
       var
         i : integer;
         i : integer;
       begin
       begin
+        result:='<unknown>';
         for i:=1 to tok2nodes do
         for i:=1 to tok2nodes do
           if tok2node[i].nod=nt then
           if tok2node[i].nod=nt then
             begin
             begin
@@ -1920,7 +1921,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.83  2004-03-18 16:19:03  peter
+  Revision 1.84  2004-03-18 16:29:07  peter
+    * missing result initialization in node2opstr
+
+  Revision 1.83  2004/03/18 16:19:03  peter
     * fixed operator overload allowing for pointer-string
     * fixed operator overload allowing for pointer-string
     * replaced some type_e_mismatch with more informational messages
     * replaced some type_e_mismatch with more informational messages