diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-23 09:10:35 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-04-23 09:10:35 +0200 |
commit | 606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3 (patch) | |
tree | e067c99ea946ba4877e12e3939c7fe6433d94f6f /src/dabOutput | |
parent | 262a43fc5dcc04731a8951ee44555f582f7e8106 (diff) | |
download | dabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.tar.gz dabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.tar.bz2 dabmux-606e22abcf8b9f3c3d63ccc8ccf8ae4020c6ffd3.zip |
Enable and take care of some warnings
Diffstat (limited to 'src/dabOutput')
-rw-r--r-- | src/dabOutput/dabOutputFifo.cpp | 1 | ||||
-rw-r--r-- | src/dabOutput/dabOutputFile.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/dabOutput/dabOutputFifo.cpp b/src/dabOutput/dabOutputFifo.cpp index de9579e..6b1c016 100644 --- a/src/dabOutput/dabOutputFifo.cpp +++ b/src/dabOutput/dabOutputFifo.cpp @@ -59,6 +59,7 @@ int DabOutputFifo::Write(void* buffer, int size) if (write(this->file_, padding, 6144 - size) == -1) goto FIFO_WRITE_ERROR; break; + case ETI_FILE_TYPE_NONE: default: etiLog.log(error, "File type is not supported.\n"); return -1; diff --git a/src/dabOutput/dabOutputFile.cpp b/src/dabOutput/dabOutputFile.cpp index f26ddfd..d7fd5c7 100644 --- a/src/dabOutput/dabOutputFile.cpp +++ b/src/dabOutput/dabOutputFile.cpp @@ -112,6 +112,7 @@ int DabOutputFile::Write(void* buffer, int size) memset(padding, 0x55, 6144 - size); if (write(this->file_, padding, 6144 - size) == -1) goto FILE_WRITE_ERROR; break; + case ETI_FILE_TYPE_NONE: default: etiLog.log(error, "File type is not supported.\n"); return -1; |