mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-22 06:07:34 +02:00
NMbutton.c: fix: warning: statement with no effect
Looks like a logic bug hidden in the warning. GCC14 -Wall cleanup series [-Wunused-value]
This commit is contained in:
committed by
Tim Edwards
parent
c749d01eb7
commit
3477480ab0
+1
-1
@@ -79,7 +79,7 @@ NMButtonNetList(window, cmd, nmButton, point)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
TxPrintf("New net list name: ");
|
TxPrintf("New net list name: ");
|
||||||
if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] == 0;
|
if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] = 0;
|
||||||
if (newName[0] == 0) return;
|
if (newName[0] == 0) return;
|
||||||
NMNewNetlist(newName);
|
NMNewNetlist(newName);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user