autopair: Fix compiler warning
authorSonny Sasaka <sonnysasaka@chromium.org>
Tue, 24 Mar 2020 19:49:42 +0000 (12:49 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:48 +0000 (14:30 +0530)
commitd667108bd80d37cb89af50951f3b2877b903e384
tree24f3ed49699d0b985e7cf0b9114efb6d87f2e2ca
parent93840364b1848b57e572558325f1873081fa2625
autopair: Fix compiler warning

With clang, comparing an array with NULL generates a warning because the
value is always non-NULL. With maintainer mode enabled, this becomes a
compilation error.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
plugins/autopair.c