]> Git Repo - J-u-boot.git/commit
sandbox: p2sb: Silence compiler warning
authorSimon Glass <[email protected]>
Sat, 8 Feb 2020 14:53:10 +0000 (07:53 -0700)
committerSimon Glass <[email protected]>
Thu, 16 Apr 2020 14:07:57 +0000 (08:07 -0600)
commit8a770f9eb7be58439361e0ad30a0c122cd46dc7b
tree4dc175eac3ee20986e5c86e1c1beadd3ec60dd85
parentb41d4b83f0203be79a3bfa1e4bde316355c7f2a0
sandbox: p2sb: Silence compiler warning

Some compilers produce a warning about 'child' being used before init.
Silence this by setting to NULL at the start.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
drivers/misc/p2sb_emul.c
This page took 0.03347 seconds and 4 git commands to generate.