summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-03-27 22:11:53 -0700
committerKeith Packard <keithp@keithp.com>2013-03-27 22:11:53 -0700
commit6fe32e0fc407522101e805cf2653253cb3cee291 (patch)
treeec4182cb4ab559e179687ecf4340edc54fc5e986 /src
parent985cd22b941415b1ae2709ae1ab6b60c3d815ec1 (diff)
altosui: Don't deref null pyros when saving altimeter config
The check for no pyro config is to compare npyros against zero rather than check the length of the pyros array as the latter may be null. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions