diff src/load-path.cc @ 6196:4942c93e37e3

[project @ 2006-12-04 15:53:58 by jwe]
author jwe
date Mon, 04 Dec 2006 15:53:59 +0000
parents 645605133a6f
children ccdb8ffbb994
line wrap: on
line diff
--- a/src/load-path.cc
+++ b/src/load-path.cc
@@ -727,6 +727,9 @@
 	  else
 	    error ("load_path::do_find_fcn: %s: invalid type code = %d",
 		   fcn.c_str (), type);
+ 
+ 	  // Reset the return string, in case the above tesst fail.
+ 	  retval = std::string ();
 	}
     }