Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bstrlib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
libraries
bstrlib
Commits
c2cbbf63df07
Commit
c2cbbf63df07
authored
9 years ago
by
Sean Charles
Browse files
Options
Downloads
Patches
Plain Diff
Removed compiler warnings [-Wself-assign] for a cleaner build output for *real* problems
parent
e8d674ee8535
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bstraux.c
+9
-4
9 additions, 4 deletions
bstraux.c
with
9 additions
and
4 deletions
bstraux.c
+
9
−
4
View file @
c2cbbf63
/*
/*
* This source file is part of the bstring string library. This code was
* This source file is part of the bstring string library. This code was
* written by Paul Hsieh in 2002-2015, and is covered by the BSD open source
* written by Paul Hsieh in 2002-2015, and is covered by the BSD open source
...
@@ -25,6 +26,10 @@
...
@@ -25,6 +26,10 @@
#include
"bstrlib.h"
#include
"bstrlib.h"
#include
"bstraux.h"
#include
"bstraux.h"
#ifndef UNUSED
#define UNUSED(x) (void)(x)
#endif
/* bstring bTail (bstring b, int n)
/* bstring bTail (bstring b, int n)
*
*
* Return with a string of the last n characters of b.
* Return with a string of the last n characters of b.
...
@@ -197,10 +202,10 @@
...
@@ -197,10 +202,10 @@
}
}
static
size_t
readNothing
(
void
*
buff
,
size_t
elsize
,
size_t
nelem
,
void
*
parm
)
{
static
size_t
readNothing
(
void
*
buff
,
size_t
elsize
,
size_t
nelem
,
void
*
parm
)
{
buff
=
buff
;
UNUSED
(
buff
)
;
elsize
=
elsize
;
UNUSED
(
elsize
)
;
nelem
=
nelem
;
UNUSED
(
nelem
)
;
parm
=
parm
;
UNUSED
(
parm
)
;
return
0
;
/* Immediately indicate EOF. */
return
0
;
/* Immediately indicate EOF. */
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment