]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd/sd-device/test-sd-device-thread.c
device-util: Declare iterator variables inline
[thirdparty/systemd.git] / src / libsystemd / sd-device / test-sd-device-thread.c
index 644f3c2aeeec87c8411892863fe0a774d07a7063..c99d179b3351a079807106e7deebe9b20e837149 100644 (file)
@@ -27,7 +27,6 @@ static void* thread(void *p) {
 int main(int argc, char *argv[]) {
         sd_device *loopback;
         pthread_t t;
-        const char *key, *value;
         int r;
 
         r = sd_device_new_from_syspath(&loopback, "/sys/class/net/lo");