Merge remote-tracking branch 'origin/release-4-6'
[alexxy/gromacs.git] / src / gromacs / gmxlib / string2.c
index 9048a2a6737f2f167b97f0033896a86688d1a940..a15a96167283282975710505123d7f3228fe6f3d 100644 (file)
@@ -61,6 +61,7 @@
 #include <pwd.h>
 #endif
 #include <time.h>
+#include <assert.h>
 
 #include "typedefs.h"
 #include "smalloc.h"
@@ -75,6 +76,7 @@ int continuing(char *s)
  */
 {
   int sl;
+  assert(s);
 
   rtrim(s);
   sl = strlen(s);