stdlib-js/stdlib

Fix C lint errors

stdlib-bot opened this issue · 0 comments

C Linting Failures

Linting failures were detected in the automated lint workflow run.

Workflow Details

Error Details


lib/node_modules/@stdlib/strided/base/dmskmap/examples/c/example.c:31:9: style: Variable 'X' can be declared as const array [constVariable]
 double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };
        ^
lib/node_modules/@stdlib/strided/base/dmskmap/examples/c/example.c:34:10: style: Variable 'M' can be declared as const array [constVariable]
 uint8_t M[] = { 0, 0, 1, 0, 0, 1 };
         ^
--

lib/node_modules/@stdlib/stats/base/smeanors/benchmark/c/benchmark.length.c:110:37: warning: Uninitialized variable: x [uninitvar]
  v = stdlib_strided_smeanors( len, x, 1 );
                                    ^