fix-compiler-warnings

Origin commit data
------------------
Branch: master
Commit: 20dda4128b
Author: max_10 <max_10@gmx.de>
Date: 2019-02-03 (Sun, 03 Feb 2019)

Origin message was:
------------------
- fix-compiler-warnings

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2019-02-03 00:36:28 +01:00
parent 3efa9baa81
commit d78d9d38fd
6 changed files with 14 additions and 24 deletions

View File

@@ -132,12 +132,12 @@ stb_type_t GetSTBType()
static stb_type_t type = STB_UNKNOWN;
if (type == STB_UNKNOWN)
{
struct stat buffer;
// struct stat buffer;
if (access("/proc/stb/tpm/0/serial", F_OK) != -1)
{
type = STB_DREAMBOX;
}
else if (access("/proc/stb/info/vumodel", F_OK) != -1 && \
else if (access("/proc/stb/info/vumodel", F_OK) != -1 &&
access("/proc/stb/info/boxtype", F_OK) == -1)
{
// some STB like Octagon SF4008 has also /proc/stb/info/vumodel