mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Couple of fixes from cppcheck via Tiago Cunha.
This commit is contained in:
parent
b185449d07
commit
3368b602a8
2 changed files with 2 additions and 3 deletions
2
grid.c
2
grid.c
|
|
@ -124,7 +124,7 @@ grid_compare(struct grid *ga, struct grid *gb)
|
|||
struct grid_cell *gca, *gcb;
|
||||
u_int xx, yy;
|
||||
|
||||
if (ga->sx != gb->sx || ga->sy != ga->sy)
|
||||
if (ga->sx != gb->sx || ga->sy != gb->sy)
|
||||
return (1);
|
||||
|
||||
for (yy = 0; yy < ga->sy; yy++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue