list: fix uninitialized variable in list_add example.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 10 Nov 2010 06:37:29 +0000 (17:07 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 10 Nov 2010 06:37:29 +0000 (17:07 +1030)
commitc44953a9b9e6114690968294662fc5120e674cd2
treed8eb036b0992d801027634c7faca7bd14216f11b
parentc906ef097b6af429d533b49c2773fec871eee817
list: fix uninitialized variable in list_add example.

gcc with optimization complained (correctly) about this.
ccan/list/list.h