Expand compiler flags for static code analysis
This commit is contained in:
@@ -108,7 +108,7 @@ int gpio_read(const struct gpio *gpio, unsigned int *value)
|
||||
int gpio_write(const struct gpio *gpio, unsigned int value)
|
||||
{
|
||||
int res;
|
||||
unsigned char mask;
|
||||
unsigned char mask = gpio->ftdi_dev->status_mask;
|
||||
|
||||
if(NULL == gpio) {
|
||||
return EXIT_FAILURE;
|
||||
|
@@ -31,7 +31,7 @@ static const struct gpio gpio_2 = {
|
||||
.ftdi_dev = &ftdi_obj,
|
||||
};
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
int main(void)
|
||||
{
|
||||
int res, cnt;
|
||||
unsigned int value;
|
||||
|
Reference in New Issue
Block a user