diff options
author | Orestis Floros <orestisflo@gmail.com> | 2020-05-01 00:36:38 +0200 |
---|---|---|
committer | Orestis Floros <orestisflo@gmail.com> | 2020-05-01 01:06:38 +0200 |
commit | a68524ee4a7cbf120382a7b678a7820f07b10bf5 (patch) | |
tree | dc631befd90ecd34ac2fac9ddf1199e0ca006bbb /src/format_placeholders.c | |
parent | 57218e98de20ef2a779f4b33a6d742d52a0bf0f8 (diff) |
Fix various warnings
- unused variable ‘walk’ [-Wunused-variable]
- implicit declaration of built-in function ‘free’
[-Wimplicit-function-declaration]
- initialization discards ‘const’ qualifier from pointer target type
[-Wdiscarded-qualifiers]
- variable 'ram_used' is used uninitialized whenever 'if' condition is
false [-Wsometimes-uninitialized]. This is actually easily reproducible
by specifying `memory_used_method = "XXX"`.
- comparison of integers of different signs: 'int' and 'unsigned long'
[-Wsign-compare] (for `exponent`)
Diffstat (limited to 'src/format_placeholders.c')
0 files changed, 0 insertions, 0 deletions