Skip to content

Commit 9df1130

Browse files
committed
Make CodeQL happy
1 parent 8cf392d commit 9df1130

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

libpromises/evalfunction.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7576,6 +7576,8 @@ static FnCallResult FnCallStrftime(ARG_UNUSED EvalContext *ctx,
75767576
const FnCall *fp,
75777577
const Rlist *finalargs)
75787578
{
7579+
assert(fp != NULL);
7580+
75797581
/* begin fn-specific content */
75807582

75817583
char *mode = RlistScalarValue(finalargs);

0 commit comments

Comments
 (0)