[evolution-etesync] I#3 - Annotate false positives for Coverity Scan closes #3



commit e294dd65bb30d84dbd187439d3bc74746b583a93
Author: Nour E-Din El-Nhass <nouredinosama gmail com>
Date:   Sun Nov 29 11:55:38 2020 +0200

    I#3 - Annotate false positives for Coverity Scan
    closes #3

 src/addressbook/e-book-backend-etesync.c | 1 +
 src/calendar/e-cal-backend-etesync.c     | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/src/addressbook/e-book-backend-etesync.c b/src/addressbook/e-book-backend-etesync.c
index 02ddc5c..e7b802e 100644
--- a/src/addressbook/e-book-backend-etesync.c
+++ b/src/addressbook/e-book-backend-etesync.c
@@ -641,6 +641,7 @@ e_book_backend_etesync_init (EBookBackendEteSync *bbetesync)
        g_rec_mutex_init (&bbetesync->priv->etesync_lock);
        bbetesync->priv->connection = NULL;
        bbetesync->priv->col_obj = NULL;
+       /* coverity[missing_lock] */
        bbetesync->priv->fetch_from_server = TRUE;
        bbetesync->priv->preloaded_add = NULL;
        bbetesync->priv->preloaded_modify = NULL;
diff --git a/src/calendar/e-cal-backend-etesync.c b/src/calendar/e-cal-backend-etesync.c
index 7ec8e13..4742672 100644
--- a/src/calendar/e-cal-backend-etesync.c
+++ b/src/calendar/e-cal-backend-etesync.c
@@ -781,6 +781,7 @@ e_cal_backend_etesync_init (ECalBackendEteSync *cbetesync)
        g_rec_mutex_init (&cbetesync->priv->etesync_lock);
        cbetesync->priv->connection = NULL;
        cbetesync->priv->col_obj = NULL;
+       /* coverity[missing_lock] */
        cbetesync->priv->fetch_from_server = TRUE;
        cbetesync->priv->preloaded_add = NULL;
        cbetesync->priv->preloaded_modify = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]