1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Silence compiler warnings

- Comparisons between signed and unsigned
- Unused parameter

produced by gcc -Wall -Wextra
This commit is contained in:
Nick Patavalis
2018-02-09 19:00:56 +02:00
parent 399d7f9480
commit 6d8bf34e9f
3 changed files with 7 additions and 3 deletions

6
term.h
View File

@ -167,7 +167,8 @@ enum parity_e {
P_EVEN,
P_ODD,
P_MARK,
P_SPACE
P_SPACE,
P_ERROR = -1
};
/*
@ -184,7 +185,8 @@ enum flowcntrl_e {
FC_NONE = 0,
FC_RTSCTS,
FC_XONXOFF,
FC_OTHER
FC_OTHER,
FC_ERROR = -1
};
/*