summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-05-15 22:45:09 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-15 22:45:10 +0000
commitb4ad6911a4e88ae5c8f8f0249cae8071a783e01c (patch)
treec910cdf6fea5b58b2d08bc4accac5e33e2edecc4
parent75a8eeb1ecf9f748b1d53e5ff3a5e138a0cdbebd (diff)
parent20fcb78e5832fd63429c7f6105e32d7917975d72 (diff)
downloadsystem_core-b4ad6911a4e88ae5c8f8f0249cae8071a783e01c.zip
system_core-b4ad6911a4e88ae5c8f8f0249cae8071a783e01c.tar.gz
system_core-b4ad6911a4e88ae5c8f8f0249cae8071a783e01c.tar.bz2
Merge "libadf: silence false positive warning"
-rw-r--r--adf/libadf/adf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adf/libadf/adf.c b/adf/libadf/adf.c
index 871629e..1d19152 100644
--- a/adf/libadf/adf.c
+++ b/adf/libadf/adf.c
@@ -768,7 +768,7 @@ int adf_find_simple_post_configuration(struct adf_device *dev,
const __u32 *formats, size_t n_formats,
adf_id_t *interface, adf_id_t *overlay_engine)
{
- adf_id_t *intfs;
+ adf_id_t *intfs = NULL;
ssize_t n_intfs = adf_interfaces(dev, &intfs);
if (n_intfs < 0)