biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'origin/release-4-6'
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
string2.c
diff --git
a/src/gromacs/gmxlib/string2.c
b/src/gromacs/gmxlib/string2.c
index 9048a2a6737f2f167b97f0033896a86688d1a940..a15a96167283282975710505123d7f3228fe6f3d 100644
(file)
--- a/
src/gromacs/gmxlib/string2.c
+++ b/
src/gromacs/gmxlib/string2.c
@@
-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);