diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-11-20 16:02:21 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-01-30 11:59:14 +0100 |
commit | a1f2429790eb4c7e106cd928cbb387fd5ba0aa46 (patch) | |
tree | f1e4adeb8b25886cf13d6daa5b1725ef8597f5e4 /src/mm-log.c | |
parent | 305d927ee07d7e28de4133d0edf92722155c61cf (diff) |
libqcdm,reset: fix warnings with -Wdiscarded-qualifiers
reset.c: In function ‘main’:
reset.c:238:17: warning: passing argument 1 of ‘putenv’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
238 | putenv ("QCDM_DEBUG=1");
| ^~~~~~~~~~~~~~
In file included from reset.c:22:
/usr/include/stdlib.h:647:26: note: expected ‘char *’ but argument is of type ‘const char *’
647 | extern int putenv (char *__string) __THROW __nonnull ((1));
| ~~~~~~^~~~~~~~
Diffstat (limited to 'src/mm-log.c')
0 files changed, 0 insertions, 0 deletions