git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d4484
)
dbwrap_tool: Avoid an unnecessary "else"
author
Volker Lendecke
<vl@samba.org>
Fri, 24 Aug 2018 13:07:28 +0000
(15:07 +0200)
committer
Ralph Boehme
<slow@samba.org>
Mon, 3 Sep 2018 16:44:24 +0000
(18:44 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/dbwrap_tool.c
patch
|
blob
|
history
diff --git
a/source3/utils/dbwrap_tool.c
b/source3/utils/dbwrap_tool.c
index 09a27dbcb510df0ef5187e66dc147c29e8b3f46a..5609b6c43d4da4068543bb6e12a57e0f243ac3d4 100644
(file)
--- a/
source3/utils/dbwrap_tool.c
+++ b/
source3/utils/dbwrap_tool.c
@@
-439,7
+439,8
@@
int main(int argc, const char **argv)
d_fprintf(stderr, "ERROR: you must specify exactly one "
"of --persistent and --non-persistent\n");
goto done;
- } else if (non_persistent == 1) {
+ }
+ if (non_persistent == 1) {
tdb_flags |= TDB_CLEAR_IF_FIRST;
}