Changeset: b1b817456610 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/b1b817456610
Modified Files:
        monetdb5/modules/atoms/mtime.c
Branch: Dec2023
Log Message:

Avoid warning about uninitialized variable.


diffs (14 lines):

diff --git a/monetdb5/modules/atoms/mtime.c b/monetdb5/modules/atoms/mtime.c
--- a/monetdb5/modules/atoms/mtime.c
+++ b/monetdb5/modules/atoms/mtime.c
@@ -341,9 +341,8 @@ NAME##_bulk_p1(Client cntxt, MalBlkPtr m
        (void) cntxt;                                                           
                                                \
        (void) mb;                                                              
                                                        \
        if ((b2 = BATdescriptor(*bid2)) == NULL) {                              
                        \
-               msg = createException(MAL, "batmtime." MALFUNC,                 
                \
+               throw(MAL, "batmtime." MALFUNC,                                 
                                \
                          SQLSTATE(HY002) RUNTIME_OBJECT_MISSING);              
                        \
-               goto bailout;                                                   
                                                \
        }                                                                       
                                                                \
        b2i = bat_iterator(b2);                                                 
                                        \
        if (sid2 && !is_bat_nil(*sid2) && (s2 = BATdescriptor(*sid2)) == NULL) 
{ \
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to