mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
Fix a warning/error where C compilers can not predict that a variable is initialized
This commit is contained in:
committed by
Christoffer Lerno
parent
d6490c9bab
commit
8c33b073c2
@@ -950,7 +950,8 @@ static inline void llvm_optimize(GenContext *c)
|
||||
#ifndef NDEBUG
|
||||
should_debug = debug_log;
|
||||
#endif
|
||||
LLVMOptLevels level;
|
||||
LLVMOptLevels level = LLVM_O0;
|
||||
|
||||
switch (active_target.optsize)
|
||||
{
|
||||
case SIZE_OPTIMIZATION_SMALL:
|
||||
|
||||
Reference in New Issue
Block a user