1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Remove duplicate error message

e_badnum from streval.h and e_number from shell.h are both defined
as "%s: bad number". We only need one. Remove the one that is used
only once: e_badnum.
This commit is contained in:
Martijn Dekker 2021-11-15 09:40:45 +01:00
parent ef1f53b5b2
commit d9cd49c6d7
3 changed files with 1 additions and 3 deletions

View file

@ -664,7 +664,7 @@ again:
lvalue.flag = 0;
stakpush(vp,lvalue.flag,short);
if(vp->nextchr==0)
ERROR(vp,e_badnum);
ERROR(vp,e_number);
if(!(strval_precedence[op]&SEQPOINT))
lvalue.value = 0;
invalid = 0;