Changeset: 56452eb7adb7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/56452eb7adb7
Modified Files:
        gdk/gdk_bat.c
Branch: default
Log Message:

Fix badly placed #if.


diffs (48 lines):

diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -188,11 +188,11 @@ gettailnamebi(const BATiter *bi)
                        return "tail1";
                case 2:
                        return "tail2";
+               case 4:
 #if SIZEOF_VAR_T == 8
-               case 4:
                        return "tail4";
+               case 8:
 #endif
-               case 8:
                        break;
                default:
                        MT_UNREACHABLE();
@@ -210,11 +210,11 @@ gettailname(const BAT *b)
                        return "tail1";
                case 2:
                        return "tail2";
+               case 4:
 #if SIZEOF_VAR_T == 8
-               case 4:
                        return "tail4";
+               case 8:
 #endif
-               case 8:
                        break;
                default:
                        MT_UNREACHABLE();
@@ -239,14 +239,14 @@ settailname(Heap *restrict tail, const c
                                      sizeof(tail->filename), physnme,
                                      ".tail2", NULL);
                        return;
+               case 4:
 #if SIZEOF_VAR_T == 8
-               case 4:
                        strconcat_len(tail->filename,
                                      sizeof(tail->filename), physnme,
                                      ".tail4", NULL);
                        return;
+               case 8:
 #endif
-               case 8:
                        break;
                default:
                        MT_UNREACHABLE();
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to