diff options
author | Buddy Liong | 2014-08-20 10:04:57 -0500 |
---|---|---|
committer | Buddy Liong | 2014-08-20 12:23:51 -0500 |
commit | 9ff1f626118c7923b84445b3da64352289d308ca (patch) | |
tree | 49d514a195f6fac62499df090fd301976acdd0d4 /test_qnx/dce_test | |
parent | dd6d57718a7b5ddcc5234fe7c9f15ea87ed33858 (diff) | |
download | hardware-ti-libdce-9ff1f626118c7923b84445b3da64352289d308ca.tar.gz hardware-ti-libdce-9ff1f626118c7923b84445b3da64352289d308ca.tar.xz hardware-ti-libdce-9ff1f626118c7923b84445b3da64352289d308ca.zip |
[TEST_QNX] Fixing compiler warnings
Using QNX SDP 6.6, compiler issues warnings:
/libdce/test_qnx/dce_enc_test/dce_enc_test.c: In function 'main':
/libdce/test_qnx/dce_enc_test/dce_enc_test.c:363:21: warning: variable 'ivahd_encode_type' set but not used [-Wunused-but-set-variable]
/libdce/test_qnx/dce_enc_test/dce_enc_test.c:357:21: warning: variable 'oned' set but not used [-Wunused-but-set-variable]
/libdce/test_qnx/dce_test/dce_test.c:588:22: warning: variable 'vc1_flush' set but not used [-Wunused-but-set-variable]
Change-Id: I53798b7a10128baea6f87ee0cc1eca483243846c
Signed-off-by: Buddy Liong <buddy.budiono@ti.com>
Diffstat (limited to 'test_qnx/dce_test')
-rw-r--r-- | test_qnx/dce_test/dce_test.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test_qnx/dce_test/dce_test.c b/test_qnx/dce_test/dce_test.c index 2a4ae1a..a1e82c4 100644 --- a/test_qnx/dce_test/dce_test.c +++ b/test_qnx/dce_test/dce_test.c | |||
@@ -585,7 +585,6 @@ int main(int argc, char * *argv) | |||
585 | char vid_codec[10]; | 585 | char vid_codec[10]; |
586 | char tilerbuffer[10]; | 586 | char tilerbuffer[10]; |
587 | unsigned int codec_switch = 0; | 587 | unsigned int codec_switch = 0; |
588 | unsigned int vc1_flush = 0; | ||
589 | Bool outBufsInUse = FALSE; | 588 | Bool outBufsInUse = FALSE; |
590 | 589 | ||
591 | #ifdef PROFILE_TIME | 590 | #ifdef PROFILE_TIME |
@@ -662,12 +661,10 @@ int main(int argc, char * *argv) | |||
662 | } else if((!(strcmp(vid_codec, "vc1smp")))) { | 661 | } else if((!(strcmp(vid_codec, "vc1smp")))) { |
663 | ivahd_decode_type = IVAHD_VC1SMP_DECODE; | 662 | ivahd_decode_type = IVAHD_VC1SMP_DECODE; |
664 | codec_switch = DCE_TEST_VC1SMP; | 663 | codec_switch = DCE_TEST_VC1SMP; |
665 | vc1_flush = 1; | ||
666 | 664 | ||
667 | } else if((!(strcmp(vid_codec, "vc1ap")))) { | 665 | } else if((!(strcmp(vid_codec, "vc1ap")))) { |
668 | ivahd_decode_type = IVAHD_VC1AP_DECODE; | 666 | ivahd_decode_type = IVAHD_VC1AP_DECODE; |
669 | codec_switch = DCE_TEST_VC1AP; | 667 | codec_switch = DCE_TEST_VC1AP; |
670 | vc1_flush = 1; | ||
671 | 668 | ||
672 | } else if((!(strcmp(vid_codec, "mjpeg")))) { | 669 | } else if((!(strcmp(vid_codec, "mjpeg")))) { |
673 | ivahd_decode_type = IVAHD_JPEGV_DECODE; | 670 | ivahd_decode_type = IVAHD_JPEGV_DECODE; |