[tracker-miners/wip/carlosg/coverity-fixes: 9/16] tracker-miner-fs: Remove needless check
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/coverity-fixes: 9/16] tracker-miner-fs: Remove needless check
- Date: Tue, 15 Sep 2020 14:30:40 +0000 (UTC)
commit 1d3df10383ce3d39ca24cd4301543b2e0932780c
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Sep 7 18:40:13 2020 +0200
tracker-miner-fs: Remove needless check
This confuses Coverity into thinking domain_ontology might be NULL,
while it does not.
CID: #354742
src/miners/fs/tracker-main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/miners/fs/tracker-main.c b/src/miners/fs/tracker-main.c
index c60070d04..271041b12 100644
--- a/src/miners/fs/tracker-main.c
+++ b/src/miners/fs/tracker-main.c
@@ -1013,7 +1013,7 @@ main (gint argc, gchar *argv[])
if (no_daemon) {
g_message ("tracker-miner-fs-3 running in --no-daemon mode.");
- } else if (domain_ontology && domain_ontology_name) {
+ } else if (domain_ontology_name) {
domain_name = tracker_domain_ontology_get_domain (domain_ontology, NULL);
g_message ("tracker-miner-fs-3 running in --domain-ontology mode as "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]