spark: fix compiler warning in cVideo

This commit is contained in:
Stefan Seyfried
2013-02-24 16:31:37 +01:00
parent afdca9c02b
commit 4b9d9271b6

View File

@@ -1,10 +1,10 @@
/* /*
* (C) 2002-2003 Andreas Oberritter <obi@tuxbox.org> * (C) 2002-2003 Andreas Oberritter <obi@tuxbox.org>
* (C) 2010-2011 Stefan Seyfried * (C) 2010-2013 Stefan Seyfried
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
@@ -13,8 +13,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program. If not, see <http://www.gnu.org/licenses/>.
* Foundation, 51 Franklin Street, Suite 500 Boston, MA 02110-1335 USA
*/ */
#include <fcntl.h> #include <fcntl.h>
@@ -495,7 +494,6 @@ int cVideo::getBlank(void)
size_t n = 0; size_t n = 0;
ssize_t r; ssize_t r;
char *line = NULL; char *line = NULL;
char *p;
/* hack: the "mailbox" irq is not increasing if /* hack: the "mailbox" irq is not increasing if
* no audio or video is decoded... */ * no audio or video is decoded... */
FILE *f = fopen("/proc/interrupts", "r"); FILE *f = fopen("/proc/interrupts", "r");