1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-05 07:54:43 +00:00

Assignments embedded in if-condition are not a good idea.

This commit is contained in:
Nick Briggs
2023-11-12 17:37:34 -08:00
parent 6cea8c69b0
commit 42477318b5

View File

@@ -2150,7 +2150,8 @@ LispPTR COM_next_file(LispPTR *args)
propp = gfsp->propp;
dfp = &FinfoArray[finfoid];
if (dfp->head == (FINFO *)0 || (fp = dfp->next) == (FINFO *)0) return (SMALLP_MINUSONE);
fp = dfp->next;
if (dfp->head == NULL || fp == NULL) return (SMALLP_MINUSONE);
dfp->next = fp->next;
laddr = gfsp->name;