diff options
author | Greg Hackmann <ghackmann@google.com> | 2014-05-07 14:55:30 -0700 |
---|---|---|
committer | Greg Hackmann <ghackmann@google.com> | 2014-05-07 15:27:59 -0700 |
commit | 20fcb78e5832fd63429c7f6105e32d7917975d72 (patch) | |
tree | debdd2fd19742d5ca9b118d764cc2b00dfa5d850 /adf/libadf | |
parent | 8e26b2522267658ef996631a3a43818c1baf6fc3 (diff) | |
download | system_core-20fcb78e5832fd63429c7f6105e32d7917975d72.zip system_core-20fcb78e5832fd63429c7f6105e32d7917975d72.tar.gz system_core-20fcb78e5832fd63429c7f6105e32d7917975d72.tar.bz2 |
libadf: silence false positive warning
Some versions of gcc warn that intfs may be used uninitialized
Change-Id: I3b8d7e919e9c2902ac56adeabd09a45ececfb3c4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'adf/libadf')
-rw-r--r-- | adf/libadf/adf.c | 2 |
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) |