mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
get rid of two compiler warnings
(This used to be ctdb commit 0865f0e6ef671396aa862f6a79a48a4891d72122)
This commit is contained in:
parent
401732a56b
commit
4da818504a
@ -3812,9 +3812,9 @@ static int control_restoredb(struct ctdb_context *ctdb, int argc, const char **a
|
||||
return -1;
|
||||
}
|
||||
|
||||
dbname = dbhdr.name;
|
||||
dbname = discard_const(dbhdr.name);
|
||||
if (argc == 2) {
|
||||
dbname = argv[1];
|
||||
dbname = discard_const(argv[1]);
|
||||
}
|
||||
|
||||
outdata.dsize = dbhdr.size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user