]> git.ozlabs.org Git - ccan/commit
ccan/rune: compile without warnings on -O3.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Jul 2022 00:11:57 +0000 (09:41 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Jul 2022 00:11:57 +0000 (09:41 +0930)
commit8448fd2813c4a8bdeff08c739129c877204341a7
treecf028a5cf17ed520a5a18627ebb96568e24a8518
parent7343770f9760cf95311ae0a835171ad8d3057f13
ccan/rune: compile without warnings on -O3.

```
ccan/ccan/rune/rune.c: In function ‘rune_alt_single_int’:
ccan/ccan/rune/rune.c:257:5: error: ‘runeval_int’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
  257 |  if (cond)
      |     ^
ccan/ccan/rune/rune.c:305:6: note: ‘runeval_int’ was declared here
  305 |  s64 runeval_int;
      |      ^~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:919: ccan-rune-rune.o] Error 1
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/rune/rune.c