summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9dvd.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-10-09 16:10:38 +0200
committerSlávek Banko <[email protected]>2016-10-09 16:10:53 +0200
commitbad078e7b6e768652ca0770a6addd53453d9a8d0 (patch)
tree2151a3805709115e0aa80fe89a9ad644a2ec0d4b /libk9copy/k9dvd.cpp
parentf060539d8f221d14481048f80b1c741a9c1156bb (diff)
downloadk9copy-bad078e7b6e768652ca0770a6addd53453d9a8d0.tar.gz
k9copy-bad078e7b6e768652ca0770a6addd53453d9a8d0.zip
Fix use of potentially uninitialized values
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit f083c21276545263a0b23d829139c6732b837af3)
Diffstat (limited to 'libk9copy/k9dvd.cpp')
-rwxr-xr-xlibk9copy/k9dvd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libk9copy/k9dvd.cpp b/libk9copy/k9dvd.cpp
index 9be2380..ddb7fde 100755
--- a/libk9copy/k9dvd.cpp
+++ b/libk9copy/k9dvd.cpp
@@ -1042,7 +1042,7 @@ TQString &k9DVD::getFormat() {
}
int k9DVD::getVampsID(int type) {
- int abase;
+ int abase = 0;
if (type >= 0x80 && type <= 0x87) {
// AC3 audio
abase = 0x80;