mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* dbxread.c (process_one_symbol): Check for null string directly
rather than using strcmp against "". * partial-stab.h: Ditto.
This commit is contained in:
@@ -382,7 +382,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifdef DBXREAD_ONLY
|
||||
/* See if this is an end of function stab. */
|
||||
if (CUR_SYMBOL_TYPE == N_FUN && ! strcmp (namestring, ""))
|
||||
if (CUR_SYMBOL_TYPE == N_FUN && *namestring == '\000')
|
||||
{
|
||||
unsigned long valu;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user