Commit e7697a35 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Fix misuse of bool

parent fe8e85f4
......@@ -317,11 +317,13 @@ FillTable(struct tabent *T, int Size, const struct proto *P, int State)
void
fax_init_tables(void)
{
static bool already_initialized = 0;
if (already_initialized)
return;
static bool already_initialized = false;
if (already_initialized) {
return;
}
already_initialized = true;
++already_initialized;
FillTable(MainTable, 7, Pass, S_Pass);
FillTable(MainTable, 7, Horiz, S_Horiz);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment