chiark / gitweb /
remove duplicate semicolons
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Mon, 12 Nov 2012 21:37:20 +0000 (22:37 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Mon, 12 Nov 2012 21:38:44 +0000 (22:38 +0100)
src/delta/delta.c
src/journal/journal-gatewayd.c
src/udev/udev-builtin-path_id.c

index 803d2a7fc798bdc69b86b26e81b7a8b1959ec329..494e82eb989c449ee27906da472ae56a6a3ae676 100644 (file)
@@ -308,7 +308,7 @@ static int process_suffix_chop(const char *prefixes, const char *suffix) {
         /* Strip prefix from the suffix */
         NULSTR_FOREACH(p, prefixes) {
                 if (startswith(suffix, p)) {
         /* Strip prefix from the suffix */
         NULSTR_FOREACH(p, prefixes) {
                 if (startswith(suffix, p)) {
-                        suffix += strlen(p);;
+                        suffix += strlen(p);
                         suffix += strspn(suffix, "/");
                         return process_suffix(prefixes, suffix);
                 }
                         suffix += strspn(suffix, "/");
                         return process_suffix(prefixes, suffix);
                 }
index 6a5db968e398e0928e873e1a7105c1126bde513b..35462795c2f150bd7ffc08b444a69ea9ce0cf223 100644 (file)
@@ -237,7 +237,7 @@ static ssize_t request_reader_entries(
                         m->tmp = tmpfile();
                         if (!m->tmp) {
                                 log_error("Failed to create temporary file: %m");
                         m->tmp = tmpfile();
                         if (!m->tmp) {
                                 log_error("Failed to create temporary file: %m");
-                                return MHD_CONTENT_READER_END_WITH_ERROR;;
+                                return MHD_CONTENT_READER_END_WITH_ERROR;
                         }
                 }
 
                         }
                 }
 
@@ -603,7 +603,7 @@ static ssize_t request_reader_fields(
                         m->tmp = tmpfile();
                         if (!m->tmp) {
                                 log_error("Failed to create temporary file: %m");
                         m->tmp = tmpfile();
                         if (!m->tmp) {
                                 log_error("Failed to create temporary file: %m");
-                                return MHD_CONTENT_READER_END_WITH_ERROR;;
+                                return MHD_CONTENT_READER_END_WITH_ERROR;
                         }
                 }
 
                         }
                 }
 
index cbdeb38daa916992f89aa52a00f6e25bdea7f6bf..bfdedc0989507290dc529458b0754fc982ac79dd 100644 (file)
@@ -97,7 +97,7 @@ static struct udev_device *handle_scsi_fibre_channel(struct udev_device *parent,
         struct udev_device *targetdev;
         struct udev_device *fcdev = NULL;
         const char *port;
         struct udev_device *targetdev;
         struct udev_device *fcdev = NULL;
         const char *port;
-        char *lun = NULL;;
+        char *lun = NULL;
 
         targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target");
         if (targetdev == NULL)
 
         targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target");
         if (targetdev == NULL)