summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunm.lee <sunm.lee@samsung.com>2016-05-17 10:47:10 +0900
committersunm.lee <sunm.lee@samsung.com>2016-05-17 10:48:30 +0900
commit8c5a8eab621c4b2263887b21921518d31254390b (patch)
treec2ffb2293044d6b771e1e1bcb6f81b0be8fd703f
parent68d9f776696a3deb9ead5bddfbbb917402f47ea2 (diff)
downloaddeviced-8c5a8eab621c4b2263887b21921518d31254390b.tar.gz
deviced-8c5a8eab621c4b2263887b21921518d31254390b.tar.bz2
deviced-8c5a8eab621c4b2263887b21921518d31254390b.zip
block: fix build warning
fix build warning in block/block.c. (uninitilized devnode -> initilize to NULL) Change-Id: I2e91f5282286c51f5627f1d1de0af57b3105d388 Signed-off-by: sunm.lee <sunm.lee@samsung.com>
-rw-r--r--src/block/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/block.c b/src/block/block.c
index ec7c9cbe..7555a69b 100644
--- a/src/block/block.c
+++ b/src/block/block.c
@@ -1962,7 +1962,7 @@ static int block_poweroff(void *data)
static void uevent_block_handler(struct udev_device *dev)
{
- const char *devnode;
+ const char *devnode = NULL;
const char *action;
struct udev_list_entry *list_entry;