This resolution assumes that all records and values of ch->gcr_type are expected to be one of the 3 cases in the switch. The bug it on the first iteration it is possible 'tot' and 'clear' is just not initializaed and on a subsequent iteration it is possible it ot setup to the previous interation values. SonarCloud garouter/gaChannel.c:385:3rd function call argument is an uninitialized value https://sonarcloud.io/project/issues?open=AZJB17fFNGfDNup0RkoE&id=dlmiles_magic |
||
|---|---|---|
| .. | ||
| Makefile | ||
| OUTLINE | ||
| TODO | ||
| gaChannel.c | ||
| gaDebug.h | ||
| gaInternal.h | ||
| gaMain.c | ||
| gaMaze.c | ||
| gaSimple.c | ||
| gaStem.c | ||
| gaTest.c | ||
| garouter.h | ||