CppCheck Report

Statistics

Total issues found: 6

Issues by severity:

  • information: 4

  • style: 2

console_interface.c

Location: components\console_interface\src\console_interface.c

Information: missingIncludeSystem

Include file: <stdio.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

1#include "led_interface.h"
2
3#include "rte.h"
4#include <stdio.h>
5#include <windows.h>
6
7static RGBColor previousLightValue = {255, 255, 255};

Information: missingIncludeSystem

Include file: <windows.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

2#include "rte.h"
3#include <stdio.h>
4#include <windows.h>
5
6static RGBColor previousLightValue = {255, 255, 255};

Style: unusedFunction

The function ‘ledInterface_init’ is never used.

CWE: 561

 6static RGBColor previousLightValue = {255, 255, 255};
 7
 8void ledInterface_init(void)
 9{
10    previousLightValue.red = 255;
11    previousLightValue.green = 255;

Style: unusedFunction

The function ‘ledInterface’ is never used.

CWE: 561

13    previousLightValue.blue = 255;
14}
15
16void ledInterface(void)
17{
18    RGBColor lightValue;

platform_types.h

Location: platforms\platform_types.h

Information: missingIncludeSystem

Include file: <stdint.h> not found. Please note: Cppcheck does not need standard library headers to get proper results.

1#ifndef platform_types_h_
2#define platform_types_h_
3
4#include <stdint.h>
5
6#ifndef NULL
7#ifndef __cplusplus