The second ; in a double ;; is actually a null statement. It triggers the typical declaration-after-statement compiler-warnings if it occurs in the middle of several declarations (like here).
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -58,7 +58,7 @@ static int cas_slice8(AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs) · 57 unmodified lines | |||
| 58 | const int linesize = out->linesize[p]; | 58 | const int linesize = out->linesize[p]; |
| 59 | const int in_linesize = in->linesize[p]; | 59 | const int in_linesize = in->linesize[p]; |
| 60 | const int w = s->planewidth[p]; | 60 | const int w = s->planewidth[p]; |
| 61 | const int w1 = w - 1;; | 61 | const int w1 = w - 1; |
| 62 | const int h = s->planeheight[p]; | 62 | const int h = s->planeheight[p]; |
| 63 | const int h1 = h - 1; | 63 | const int h1 = h - 1; |
| 64 | uint8_t *dst = out->data[p] + slice_start * linesize; | 64 | uint8_t *dst = out->data[p] + slice_start * linesize; |
| @@ -125,7 +125,7 @@ static int cas_slice16(AVFilterContext *avctx, void *arg, int jobnr, int nb_jobs · 60 unmodified lines | |||
| 125 | const int linesize = out->linesize[p] / 2; | 125 | const int linesize = out->linesize[p] / 2; |
| 126 | const int in_linesize = in->linesize[p] / 2; | 126 | const int in_linesize = in->linesize[p] / 2; |
| 127 | const int w = s->planewidth[p]; | 127 | const int w = s->planewidth[p]; |
| 128 | const int w1 = w - 1;; | 128 | const int w1 = w - 1; |
| 129 | const int h = s->planeheight[p]; | 129 | const int h = s->planeheight[p]; |
| 130 | const int h1 = h - 1; | 130 | const int h1 = h - 1; |
| 131 | uint16_t *dst = (uint16_t *)out->data[p] + slice_start * linesize; | 131 | uint16_t *dst = (uint16_t *)out->data[p] + slice_start * linesize; |