diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-07 15:35:06 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-07 15:35:06 -0700 |
commit | 36117f59ec77784c9ef77801d7c1cbf03a4c4a8b (patch) | |
tree | 18a7c3f373c5d9ac11cce320045713550ce674fa /sys/libn/string.c | |
parent | 46da413cf7c9c995842a83cd54b02a17cd9c7289 (diff) |
wrap: elementary math functions for libmath
Diffstat (limited to 'sys/libn/string.c')
-rw-r--r-- | sys/libn/string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/libn/string.c b/sys/libn/string.c index 4280e27..ca53bdc 100644 --- a/sys/libn/string.c +++ b/sys/libn/string.c @@ -180,6 +180,7 @@ strĀ·makecap(const byte* s, vlong len, vlong cap) cleanup: free(h); panicf("Attempted to create a string with less capacity than length"); + return nil; } // New returns a new dynamic string object, initialized from the given C string. |