core-lightning/devtools
William Casarin 6b49b17d6e build: handle possible fscanf errors
on gcc (GCC) 7.4.0

devtools/create-gossipstore.c: In function ‘load_scid_file’:
devtools/create-gossipstore.c:22:9: error: ignoring return value of ‘fscanf’ ...
         fscanf(scidfd, "%d\n", &n);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
devtools/create-gossipstore.c:24:9: error: ignoring return value of ‘fscanf’ ...
         fscanf(scidfd, "%s\n", title);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [<builtin>: devtools/create-gossipstore.o] Error 1

Signed-off-by: William Casarin <jb55@jb55.com>
2019-04-08 23:09:53 +02:00
..
.gitignore gossipwith: simple tool to snarf gossip from a node. 2018-09-21 17:56:15 +02:00
bolt11-cli.c Makefile: check for direct amount_sat/amount_msat access. 2019-02-21 08:01:37 +00:00
create-gossipstore.c build: handle possible fscanf errors 2019-04-08 23:09:53 +02:00
create-gossipstore.h devtools/create-gossipstore: clean up enough to pass check-source. 2019-04-08 04:41:43 +00:00
decodemsg.c tlvs: add methods for decodemsg utility 2019-04-08 00:37:29 +00:00
dump-gossipstore.c daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
gossipwith.c devtools/gossipwith: add option to stream from stdin. 2019-04-08 04:41:43 +00:00
Makefile create-gossipstore.c can read scid -> satoshis csv file. The csv is in the format scid ,satoshis where there is a black space after scid. Made a header file that contains a struct. Modified makefile. Added cmdline arg --scidfile /path/to/csv and made the constant capacity command optional. create-gossipstore prints stats at the end. 2019-04-08 04:41:43 +00:00
onion.c Makefile: check for direct amount_sat/amount_msat access. 2019-02-21 08:01:37 +00:00
print_wire.c tools/generate-wire: use amount_msat / amount_sat for peer protocol. 2019-02-21 08:01:37 +00:00
print_wire.h tools/generate-wire: use amount_msat / amount_sat for peer protocol. 2019-02-21 08:01:37 +00:00