From 3e5e6c76183f3710d9d416bfbbd00c4e8fcbe0c3 Mon Sep 17 00:00:00 2001 From: Anderson Lizardo Date: Fri, 3 Jan 2014 21:55:28 -0400 Subject: [PATCH] android/system-emulator: Remove useless "static" qualifier The value of SYSTEM_SOCKET_PATH is just copied to another memory location using memcpy() (on the same function), therefore the static qualifier is unnecessary. --- android/system-emulator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/system-emulator.c b/android/system-emulator.c index 2dc9ad836..f1c6622b8 100644 --- a/android/system-emulator.c +++ b/android/system-emulator.c @@ -185,8 +185,7 @@ static void signal_callback(int signum, void *user_data) int main(int argc, char *argv[]) { - static const char SYSTEM_SOCKET_PATH[] = "\0android_system"; - + const char SYSTEM_SOCKET_PATH[] = "\0android_system"; sigset_t mask; struct sockaddr_un addr; int fd; -- 2.47.3