Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6b16d022
Commit
6b16d022
authored
Jan 05, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: WCMD_strtrim_trailing_spaces() is unused so remove it.
parent
e7b12570
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
wcmd.h
programs/cmd/wcmd.h
+0
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+0
-17
No files found.
programs/cmd/wcmd.h
View file @
6b16d022
...
@@ -98,7 +98,6 @@ int WCMD_volume (int mode, WCHAR *command);
...
@@ -98,7 +98,6 @@ int WCMD_volume (int mode, WCHAR *command);
WCHAR
*
WCMD_fgets
(
WCHAR
*
s
,
int
n
,
HANDLE
stream
);
WCHAR
*
WCMD_fgets
(
WCHAR
*
s
,
int
n
,
HANDLE
stream
);
WCHAR
*
WCMD_parameter
(
WCHAR
*
s
,
int
n
,
WCHAR
**
where
);
WCHAR
*
WCMD_parameter
(
WCHAR
*
s
,
int
n
,
WCHAR
**
where
);
WCHAR
*
WCMD_strtrim_leading_spaces
(
WCHAR
*
string
);
WCHAR
*
WCMD_strtrim_leading_spaces
(
WCHAR
*
string
);
void
WCMD_strtrim_trailing_spaces
(
WCHAR
*
string
);
void
WCMD_opt_s_strip_quotes
(
WCHAR
*
cmd
);
void
WCMD_opt_s_strip_quotes
(
WCHAR
*
cmd
);
void
WCMD_HandleTildaModifiers
(
WCHAR
**
start
,
WCHAR
*
forVariable
,
WCHAR
*
forValue
,
BOOL
justFors
);
void
WCMD_HandleTildaModifiers
(
WCHAR
**
start
,
WCHAR
*
forVariable
,
WCHAR
*
forValue
,
BOOL
justFors
);
...
...
programs/cmd/wcmdmain.c
View file @
6b16d022
...
@@ -438,23 +438,6 @@ WCHAR *WCMD_strtrim_leading_spaces (WCHAR *string) {
...
@@ -438,23 +438,6 @@ WCHAR *WCMD_strtrim_leading_spaces (WCHAR *string) {
}
}
/*************************************************************************
/*************************************************************************
* WCMD_strtrim_trailing_spaces
*
* Remove trailing spaces from a string. This routine modifies the input
* string by placing a null after the last non-space WCHARacter
*/
void
WCMD_strtrim_trailing_spaces
(
WCHAR
*
string
)
{
WCHAR
*
ptr
;
ptr
=
string
+
strlenW
(
string
)
-
1
;
while
((
*
ptr
==
' '
)
&&
(
ptr
>=
string
))
{
*
ptr
=
'\0'
;
ptr
--
;
}
}
/*************************************************************************
* WCMD_opt_s_strip_quotes
* WCMD_opt_s_strip_quotes
*
*
* Remove first and last quote WCHARacters, preserving all other text
* Remove first and last quote WCHARacters, preserving all other text
...
...
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