The variables involved here are all booleans or used exclusively as booleans.
err(ERRNORHS, ERR4, co, TCgetnext(co, i1));
if (v1o)
Mpopmark(m1);
- return (orderop(v1o, ctype, v2o) == TRUE) ? Ttrue : Tfalse;
+ return orderop(v1o, ctype, v2o) ? Ttrue : Tfalse;
case C_PLUS:
case C_MINUS:
case C_MUL:
err (ERRNORHS, ERR4, co, TCgetnext (co, i1));
if (v1o)
Mpopmark (m1);
- return (orderop (v1o, ctype, v2o) == TRUE) ? Ttrue: Tfalse;
+ return orderop (v1o, ctype, v2o) ? Ttrue: Tfalse;
case C_PLUS:
case C_MINUS:
case C_MUL:
} while (0)
#endif
-#define IOismonitored(ioi) (iop[ioi].ismonitored == TRUE)
+#define IOismonitored(ioi) iop[ioi].ismonitored
#define IOINCR 5
#define IOSIZE sizeof (io_t)
#define IOBUFSIZE 2048
g_print("%s = ", attrib_str);
if (gdk_gl_config_get_attrib(glconfig, attrib, &value)) {
if (is_boolean)
- g_print("%s\n", value == TRUE ? "TRUE" : "FALSE");
+ g_print("%s\n", value ? "TRUE" : "FALSE");
else
g_print("%d\n", value);
} else
continue;
if (ED_weight(e) == 0)
continue;
- if (ND_onstack(aghead(e)) == TRUE) {
+ if (ND_onstack(aghead(e))) {
assert(flatindex(aghead(e)) < M->nrows);
assert(flatindex(agtail(e)) < M->ncols);
ELT(M, flatindex(aghead(e)), flatindex(agtail(e))) = 1;