summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2013-03-25 11:47:56 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-03-28 16:35:37 +0100
commit74dec7c7520657ecd17067070bad37aeb98bc8f3 (patch)
tree6db68cbd6879aba0e1bebad23ad6c8ce9ebcae5e /.gitignore
parent28f331da1d1a4e782f17f0d5cf166ada51635143 (diff)
downloadneard-74dec7c7520657ecd17067070bad37aeb98bc8f3.tar.gz
neard-74dec7c7520657ecd17067070bad37aeb98bc8f3.tar.bz2
neard-74dec7c7520657ecd17067070bad37aeb98bc8f3.zip
ndef: Simplify near_ndef_prepare_ac_and_cfg_records function
Make error path a bit cleaner and easier to understand. This also makes code less confusing to some GCC version (eg. 4.6.3 on Debian ARM) about variables mime_type and cdr being used without initialization. make --no-print-directory all-am CC src/ndef.o src/ndef.c: In function ‘near_ndef_prepare_ac_and_cfg_records’: src/ndef.c:1758:6: error: ‘mime_type’ may be used uninitialized in this function [-Werror=uninitialized] src/ndef.c:1781:8: note: ‘mime_type’ was declared here src/ndef.c:1835:36: error: ‘cdr’ may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors make[1]: *** [src/ndef.o] Error 1 make: *** [all] Error 2
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions