Revert "checksrc: fix regexp for ASSIGNWITHINCONDITION"

This reverts commit ba82673dac.

Bug: #4683
This commit is contained in:
Daniel Stenberg 2019-12-16 08:34:14 +01:00
parent 3ab45a9876
commit 31e637d224
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 1 deletions

View file

@ -97,6 +97,7 @@
/* A recent macro provided by libssh. Or make our own. */
#ifndef SSH_STRING_FREE_CHAR
/* !checksrc! disable ASSIGNWITHINCONDITION 1 */
#define SSH_STRING_FREE_CHAR(x) \
do { if((x) != NULL) { ssh_string_free_char(x); x = NULL; } } while(0)
#endif