static bool
parse_line(const char *line, char **key, char **value, char **errmsg)
{
-#define SKIP_WS(x) while (isspace(*x)) { ++x; }
+#define SKIP_WS(x) do { while (isspace(*x)) { ++x; } } while (false)
*key = NULL;
*value = NULL;
-// Copyright (C) 2010-2018 Joel Rosdahl
+// Copyright (C) 2010-2019 Joel Rosdahl
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
{
cct_wipe(path);
if (mkdir(path, 0777) != 0) {
- fprintf(stderr, "mkdir: %s: %s", path, strerror(errno));;
+ fprintf(stderr, "mkdir: %s: %s", path, strerror(errno));
abort();
}
}