mirror of
https://github.com/simh/simh.git
synced 2026-02-17 13:08:22 +00:00
Cleanup for warning messages produced by the clang C compiler. Mostly adding parentheses in conditional assignments and clarification parentheses in complex boolean expressions.
This commit is contained in:
@@ -664,7 +664,7 @@ while (reason == 0) { /* loop until halted */
|
||||
int32 sr, st;
|
||||
|
||||
if (sim_interval <= 0) { /* check clock queue */
|
||||
if (reason = sim_process_event ())
|
||||
if ((reason = sim_process_event ()))
|
||||
break;
|
||||
int_eval ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user