.PHONY: cppcheck
cppcheck:
$(CPPCHECK) --suppressions-list=$(CPPCHECK_SUPPRESSIONS) \
- --inline-suppr -q --enable=all \
+ --inline-suppr -q --enable=all --force \
$(non_3pp_sources) main.c $(test_sources)
.PHONY: uncrustify
-// Copyright (C) 2010-2016 Joel Rosdahl
+// Copyright (C) 2010-2018 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
}
free(content);
content = x_readlink(lockfile);
- // cppcheck-suppress nullPointer - false positive
if (!content) {
if (errno == ENOENT) {
// The symlink was removed after the symlink() call above, so retry