src/ucx/hash_key.c

changeset 438
22eca559aded
parent 416
e2093ca0ef90
child 490
d218607f5a7e
--- a/src/ucx/hash_key.c	Sun Nov 20 12:43:44 2022 +0100
+++ b/src/ucx/hash_key.c	Sat Nov 26 17:07:08 2022 +0100
@@ -32,7 +32,7 @@
 void cx_hash_murmur(CxHashKey *key) {
     unsigned char const *data = key->data.cbytes;
     if (data == NULL) {
-        /* extension: special value for NULL */
+        // extension: special value for NULL
         key->hash = 1574210520u;
         return;
     }
@@ -70,8 +70,8 @@
             h ^= (data[i + 0] & 0xFF);
             h *= m;
                     __attribute__((__fallthrough__));
-        default:
-            /* do nothing */;
+        default: // do nothing
+        ;
     }
 
     h ^= h >> 13;

mercurial