More sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-09 23:46:54 -04:00
parent 0d1d069af4
commit ee695e71f9
218 changed files with 6282 additions and 3845 deletions

View File

@@ -414,7 +414,7 @@ hndl_clbeg(pgc_t *dev)
}
static void
hndl_clend(pgc_t *dev)
hndl_clend(UNUSED(pgc_t *dev))
{
/* Should not happen outside a CLBEG. */
}
@@ -1035,7 +1035,7 @@ hndl_poly(pgc_t *dev)
/* Parse but don't execute a POLY command (for adding to a command list) */
static int
parse_poly(pgc_t *dev, pgc_cl_t *cl, int c)
parse_poly(pgc_t *dev, pgc_cl_t *cl, UNUSED(int c))
{
uint8_t count;
@@ -1898,7 +1898,6 @@ pgc_param_coord(pgc_t *dev, int32_t *value)
pgc_error(dev, PGC_ERROR_MISSING);
return err_digit(dev);
}
break;
/* Scientific notation. */
case 'd':