mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-09-01 09:50:57 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user