summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2012-11-12 22:37:20 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2012-11-12 22:38:44 +0100
commit33b40551236a6c0c323226b78f1b1e5751a95ff5 (patch)
treeea91472eb972c570d6adc6baabc0749b028c4ae8 /src
parent0c77310d3950d9577f6a8bcc5b5529624d230da2 (diff)
remove duplicate semicolons
Diffstat (limited to 'src')
-rw-r--r--src/delta/delta.c2
-rw-r--r--src/journal/journal-gatewayd.c4
-rw-r--r--src/udev/udev-builtin-path_id.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/delta/delta.c b/src/delta/delta.c
index 803d2a7fc7..494e82eb98 100644
--- a/src/delta/delta.c
+++ b/src/delta/delta.c
@@ -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)) {
- suffix += strlen(p);;
+ suffix += strlen(p);
suffix += strspn(suffix, "/");
return process_suffix(prefixes, suffix);
}
diff --git a/src/journal/journal-gatewayd.c b/src/journal/journal-gatewayd.c
index 6a5db968e3..35462795c2 100644
--- a/src/journal/journal-gatewayd.c
+++ b/src/journal/journal-gatewayd.c
@@ -237,7 +237,7 @@ static ssize_t request_reader_entries(
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");
- return MHD_CONTENT_READER_END_WITH_ERROR;;
+ return MHD_CONTENT_READER_END_WITH_ERROR;
}
}
diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c
index cbdeb38daa..bfdedc0989 100644
--- a/src/udev/udev-builtin-path_id.c
+++ b/src/udev/udev-builtin-path_id.c
@@ -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;
- char *lun = NULL;;
+ char *lun = NULL;
targetdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_target");
if (targetdev == NULL)