mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-10 13:58:48 +00:00
trivial: Never compare a string against zero to avoid warnings
This commit is contained in:
parent
79acb58c7e
commit
b3dca14e90
@ -17,7 +17,6 @@ conf.set('FWUPD_MICRO_VERSION', fwupd_micro_version)
|
|||||||
conf.set_quoted('PACKAGE_VERSION', fwupd_version)
|
conf.set_quoted('PACKAGE_VERSION', fwupd_version)
|
||||||
|
|
||||||
archiver = find_program('git', required : false)
|
archiver = find_program('git', required : false)
|
||||||
conf.set('FWUPD_GIT_DESCRIBE', 0)
|
|
||||||
if archiver.found()
|
if archiver.found()
|
||||||
result = run_command('git', 'describe')
|
result = run_command('git', 'describe')
|
||||||
if result.returncode() == 0
|
if result.returncode() == 0
|
||||||
|
@ -1796,8 +1796,9 @@ main (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
g_print ("daemon version:\t%s\n",
|
g_print ("daemon version:\t%s\n",
|
||||||
fwupd_client_get_daemon_version (priv->client));
|
fwupd_client_get_daemon_version (priv->client));
|
||||||
if (FWUPD_GIT_DESCRIBE != 0)
|
#ifdef FWUPD_GIT_DESCRIBE
|
||||||
g_print ("checkout info:\t%s\n", FWUPD_GIT_DESCRIBE);
|
g_print ("checkout info:\t%s\n", FWUPD_GIT_DESCRIBE);
|
||||||
|
#endif
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user