Simplify logic

This commit is contained in:
Evan Miller 2021-06-02 09:16:55 -04:00
parent 6136252a85
commit a31a95056d

View File

@ -463,10 +463,8 @@ int mdb_set_default_backend(MdbHandle *mdb, const char *backend_name)
} else {
mdb_set_shortdate_fmt(mdb, "%x");
}
return 1;
} else {
return 0;
}
return (backend != NULL);
}