summaryrefslogtreecommitdiff
path: root/src/system/dlt-system-logfile.c
diff options
context:
space:
mode:
authorLassi Marttala <lassi.lm.marttala@partner.bmw.de>2012-06-04 11:53:10 +0200
committerChristian Muck <christian.muck@bmw.de>2012-06-13 23:53:01 +0200
commit54daad6cc95fb66662c894fabb5fd18308eec6e0 (patch)
tree5c20a58a362133d3bdde143851209f17a458bbbc /src/system/dlt-system-logfile.c
parent85f564f2b4c580bc151d05559e6ed0614919da8a (diff)
downloadDLT-daemon-54daad6cc95fb66662c894fabb5fd18308eec6e0.tar.gz
[GDLT-93]: Add -Wextra flags for compilation
Fixed all the warnings that popped up with the new flag. Signed-off-by: Christian Muck <christian.muck@bmw.de>
Diffstat (limited to 'src/system/dlt-system-logfile.c')
-rw-r--r--src/system/dlt-system-logfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/dlt-system-logfile.c b/src/system/dlt-system-logfile.c
index 63c81b5..50964f2 100644
--- a/src/system/dlt-system-logfile.c
+++ b/src/system/dlt-system-logfile.c
@@ -68,7 +68,7 @@ void send_file(LogFileOptions fileopt, int n)
pFile = fopen(fileopt.Filename[n],"r");
- if(pFile>0)
+ if(pFile != NULL)
{
while (!feof(pFile)) {
bytes = fread(buffer,1,sizeof(buffer)-1,pFile);