diff options
author | Karel Zak | 2015-08-04 13:03:14 +0200 |
---|---|---|
committer | Karel Zak | 2015-08-04 13:03:14 +0200 |
commit | 1c3c92cd8dbfb856d4262c90ed55c107e21ac408 (patch) | |
tree | c6caa150a76bedf6447b09a781c3f1fdab483ae4 /libfdisk/src/context.c | |
parent | libblkid: remove dead code [coverity scan] (diff) | |
download | kernel-qcow2-util-linux-1c3c92cd8dbfb856d4262c90ed55c107e21ac408.tar.gz kernel-qcow2-util-linux-1c3c92cd8dbfb856d4262c90ed55c107e21ac408.tar.xz kernel-qcow2-util-linux-1c3c92cd8dbfb856d4262c90ed55c107e21ac408.zip |
libfdisk: cleanup assert() usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/context.c')
-rw-r--r-- | libfdisk/src/context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index efc961cf7..1f6118cd0 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -1065,8 +1065,6 @@ int fdisk_missing_geometry(struct fdisk_context *cxt) { int rc; - assert(cxt); - if (!cxt || !cxt->label) return 0; |