Resolve warnings on Windows
Appease the compiler by resolving some of the reported warnings, including: - Control paths that don't return. - Potentially uninitialized variables. - Unused local variables. - Unreachable code. - Type safety. - Synchronize declarations with definitions for functions.
This commit is contained in:
@@ -175,6 +175,7 @@ _hx509_expr_eval(hx509_context context, hx509_env env, struct hx_expr *expr)
|
||||
return eval_comp(context, env, expr->arg1);
|
||||
default:
|
||||
_hx509_abort("hx509 eval expr with unknown op: %d", (int)expr->op);
|
||||
UNREACHABLE(return 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user