Skip to content

Commit 6c9505b

Browse files
authored
chore: fix C lint errors
PR-URL: #5262 Closes: #5199 Reviewed-by: Philipp Burckhardt <[email protected]>
1 parent cb07fb5 commit 6c9505b

File tree

2 files changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special

2 files changed

+2
-1
lines changed

lib/node_modules/@stdlib/math/base/special/cflipsignf/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <complex.h>
2222

2323
int main( void ) {
24-
float complex x[] = { 3.14f+1.5f*I, -3.14f-1.5f*I, 0.0f+0.0f*I, 0.0f/0.0f+0.0f/0.0f*I };
24+
const float complex x[] = { 3.14f+1.5f*I, -3.14f-1.5f*I, 0.0f+0.0f*I, 0.0f/0.0f+0.0f/0.0f*I };
2525

2626
float complex v;
2727
float complex y;

lib/node_modules/@stdlib/math/base/special/kronecker-delta/src/addon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
#include "stdlib/math/base/special/kronecker_delta.h"
2020
#include "stdlib/math/base/napi/binary.h"
2121

22+
// cppcheck-suppress shadowFunction
2223
STDLIB_MATH_BASE_NAPI_MODULE_DD_D( stdlib_base_kronecker_delta )

0 commit comments

Comments
 (0)