mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
Fix various GCC warnings.
This commit is contained in:
@@ -425,10 +425,12 @@ maintenance_do_deprecate (char *text, int deprecate)
|
||||
if (deprecate)
|
||||
{
|
||||
/* look for a replacement command */
|
||||
if (start_ptr = strchr (text, '\"'))
|
||||
start_ptr = strchr (text, '\"');
|
||||
if (start_ptr != NULL)
|
||||
{
|
||||
start_ptr++;
|
||||
if (end_ptr = strrchr (start_ptr, '\"'))
|
||||
end_ptr = strrchr (start_ptr, '\"');
|
||||
if (end_ptr != NULL)
|
||||
{
|
||||
len = end_ptr - start_ptr;
|
||||
start_ptr[len] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user