mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 03:50:44 +01:00
lint: fix code for clang-tidy
This commit is contained in:
@@ -30,7 +30,7 @@ int main(int argc, char* argv[]) {
|
||||
// Chvt
|
||||
if (argc == 2) chvt_str(argv[1]);
|
||||
|
||||
struct config config = default_config;
|
||||
struct config config = DEFAULT_CONFIG;
|
||||
char* conf_override = getenv("LIDM_CONF");
|
||||
char* conf_path = conf_override ? conf_override : "/etc/lidm.ini";
|
||||
if (parse_config(&config, conf_path) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user