mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
dvbsub: fix unused-var compiler warnings
Origin commit data
------------------
Commit: 269cbbe512
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-01 (Sun, 01 Apr 2012)
This commit is contained in:
@@ -105,12 +105,16 @@ fb_pixel_t * simple_resize32(uint8_t * orgin, uint32_t * colors, int nb_colors,
|
|||||||
void cDvbSubtitleBitmaps::Draw(int &min_x, int &min_y, int &max_x, int &max_y)
|
void cDvbSubtitleBitmaps::Draw(int &min_x, int &min_y, int &max_x, int &max_y)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
#ifndef HAVE_SPARK_HARDWARE
|
||||||
int stride = CFrameBuffer::getInstance()->getScreenWidth(true);
|
int stride = CFrameBuffer::getInstance()->getScreenWidth(true);
|
||||||
|
#if 0
|
||||||
int wd = CFrameBuffer::getInstance()->getScreenWidth();
|
int wd = CFrameBuffer::getInstance()->getScreenWidth();
|
||||||
int xstart = CFrameBuffer::getInstance()->getScreenX();
|
int xstart = CFrameBuffer::getInstance()->getScreenX();
|
||||||
int yend = CFrameBuffer::getInstance()->getScreenY() + CFrameBuffer::getInstance()->getScreenHeight();
|
int yend = CFrameBuffer::getInstance()->getScreenY() + CFrameBuffer::getInstance()->getScreenHeight();
|
||||||
int ystart = CFrameBuffer::getInstance()->getScreenY();
|
int ystart = CFrameBuffer::getInstance()->getScreenY();
|
||||||
|
#endif
|
||||||
uint32_t *sublfb = CFrameBuffer::getInstance()->getFrameBufferPointer();
|
uint32_t *sublfb = CFrameBuffer::getInstance()->getFrameBufferPointer();
|
||||||
|
#endif
|
||||||
|
|
||||||
// dbgconverter("cDvbSubtitleBitmaps::Draw: %d bitmaps, x= %d, width= %d yend=%d stride %d\n", Count(), xstart, wd, yend, stride);
|
// dbgconverter("cDvbSubtitleBitmaps::Draw: %d bitmaps, x= %d, width= %d yend=%d stride %d\n", Count(), xstart, wd, yend, stride);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user