Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
bfd8795c
Commit
bfd8795c
authored
Mar 10, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless assert(len>0) because (len == 0) is already tested on line 159.
parent
ce186430
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
modules/access_filter/dump.c
modules/access_filter/dump.c
+0
-2
No files found.
modules/access_filter/dump.c
View file @
bfd8795c
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <assert.h>
#include <time.h>
#include <time.h>
#include <errno.h>
#include <errno.h>
...
@@ -166,7 +165,6 @@ static void Dump (access_t *access, const uint8_t *buffer, size_t len)
...
@@ -166,7 +165,6 @@ static void Dump (access_t *access, const uint8_t *buffer, size_t len)
goto
error
;
goto
error
;
}
}
assert
(
len
>
0
);
if
(
fwrite
(
buffer
,
len
,
1
,
stream
)
!=
1
)
if
(
fwrite
(
buffer
,
len
,
1
,
stream
)
!=
1
)
{
{
msg_Err
(
access
,
"cannot write to file: %s"
,
strerror
(
errno
));
msg_Err
(
access
,
"cannot write to file: %s"
,
strerror
(
errno
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment