summaryrefslogtreecommitdiffstats
path: root/stream/pnm.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-03-07 21:50:45 +0100
committerUoti Urpala <uau@mplayer2.org>2011-04-20 04:22:53 +0300
commit52743acba37451121d0820150694d13e2f660774 (patch)
treef9d924293f242bd969df4e19f3e5f56fc689d8e4 /stream/pnm.c
parentb17a1cf70c2666c0f8ea020c37350b178c62fc1a (diff)
downloadmpv-52743acba37451121d0820150694d13e2f660774.tar.bz2
mpv-52743acba37451121d0820150694d13e2f660774.tar.xz
cleanup: avoid various GCC warnings
Diffstat (limited to 'stream/pnm.c')
-rw-r--r--stream/pnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/pnm.c b/stream/pnm.c
index 40da142b33..14ffa5d1c1 100644
--- a/stream/pnm.c
+++ b/stream/pnm.c
@@ -503,7 +503,7 @@ static int pnm_get_headers(pnm_t *p, int *need_response) {
uint8_t *ptr=p->header;
uint8_t *prop_hdr=NULL;
int chunk_size,size=0;
- int nr;
+ int nr = 0;
/* rmff_header_t *h; */
*need_response=0;