mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-06-04 06:09:17 +08:00
Fix compiler warnings.
This commit is contained in:
parent
0ec52fa42e
commit
e04d0aa1f0
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
.idea
|
.idea
|
||||||
|
.vs
|
||||||
CMakeLists.txt
|
CMakeLists.txt
|
||||||
|
|
||||||
build
|
build
|
||||||
output
|
output
|
||||||
|
@ -255,7 +255,7 @@ static void flood_fill_seed(struct quirc *q, int start_x, int start_y, int from,
|
|||||||
fill_stack_push(&s, start_x, start_y);
|
fill_stack_push(&s, start_x, start_y);
|
||||||
|
|
||||||
do{
|
do{
|
||||||
int x, y;
|
int x = 0, y = 0;
|
||||||
fill_stack_pop(&s, &x, &y);
|
fill_stack_pop(&s, &x, &y);
|
||||||
|
|
||||||
int left = x, right = x, i;
|
int left = x, right = x, i;
|
||||||
@ -972,8 +972,8 @@ static void rotate_capstone(struct quirc_capstone *cap,
|
|||||||
{
|
{
|
||||||
struct quirc_point copy[4];
|
struct quirc_point copy[4];
|
||||||
int j;
|
int j;
|
||||||
int best;
|
int best = 0;
|
||||||
int best_score;
|
int best_score = 0;
|
||||||
|
|
||||||
for (j = 0; j < 4; j++) {
|
for (j = 0; j < 4; j++) {
|
||||||
struct quirc_point *p = &cap->corners[j];
|
struct quirc_point *p = &cap->corners[j];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user