oridb / mc

Myrddin Compiler
MIT License
387 stars 34 forks source link

infer.c:2492:22: error: variable 'last' set but not used [-Werror=unused-but-set-variable] #187

Closed Earnestly closed 5 years ago

Earnestly commented 5 years ago

Small new issue building latest commit possibly introduced in https://github.com/oridb/mc/commit/cc5182284db2880dcfc3b0bd61dbc6ed319bacc3

infer.c: In function 'postinfer':
infer.c:2492:22: error: variable 'last' set but not used [-Werror=unused-but-set-variable]
  Postcheck **post, **last;
                      ^~~~

It is just a warning but -Werror is set.

oridb commented 5 years ago

Thanks, that's what -Werror is for :)

Fixed.