]> git.tuebingen.mpg.de Git - dss.git/blobdiff - dss.c
Silence a bogus scan-build warning.
[dss.git] / dss.c
diff --git a/dss.c b/dss.c
index 491b8aa791fdafc29589ec08eae878e9e67039be..ffbf5004505559cb30d8c1deed25a0ab842a8121 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -1,8 +1,4 @@
-/*
- * Copyright (C) 2008-2011 Andre Noll <maan@tuebingen.mpg.de>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* SPDX-License-Identifier: GPL-2.0 */
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -1452,6 +1448,7 @@ static int create_snapshot(char **argv)
 {
        int ret;
 
+       assert(argv);
        ret = rename_resume_snap(current_snapshot_creation_time);
        if (ret < 0)
                return ret;