From 63a51878845e21293bf8f808a1e1c8c4bb775332 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 19 Feb 2014 17:47:11 +0100 Subject: make gcc shut up If -flto is used then gcc will generate a lot more warnings than before, among them a number of use-without-initialization warnings. Most of them without are false positives, but let's make them go away, because it doesn't really matter. Signed-off-by: Anthony G. Basile --- src/udev/udev-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c index 7695404bca..522195ced7 100644 --- a/src/udev/udev-ctrl.c +++ b/src/udev/udev-ctrl.c @@ -193,7 +193,7 @@ static inline int accept4_fallback(int sockfd) struct udev_ctrl_connection *udev_ctrl_get_connection(struct udev_ctrl *uctrl) { struct udev_ctrl_connection *conn; - struct ucred ucred; + struct ucred ucred = {}; const int on = 1; int r; -- cgit v1.2.3-54-g00ecf