Remove already unreachable code.
	* varobj.c (varobj_get_handle): Fix comment when error is called.
	All callers updated.
This commit is contained in:
Jan Kratochvil
2009-05-23 15:34:36 +00:00
parent 70926f6373
commit 61d8f2758f
3 changed files with 8 additions and 30 deletions

View File

@@ -591,8 +591,8 @@ varobj_gen_name (void)
return obj_name;
}
/* Given an "objname", returns the pointer to the corresponding varobj
or NULL if not found */
/* Given an OBJNAME, returns the pointer to the corresponding varobj. Call
error if OBJNAME cannot be found. */
struct varobj *
varobj_get_handle (char *objname)