Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Иван Мажукин
mpd
Commits
2e55d561
Commit
2e55d561
authored
Nov 11, 2015
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PlaylistError: remove unused code "ERRNO"
parent
76a90497
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
PlaylistError.hxx
src/PlaylistError.hxx
+0
-1
CommandError.cxx
src/command/CommandError.cxx
+0
-4
No files found.
src/PlaylistError.hxx
View file @
2e55d561
...
@@ -24,7 +24,6 @@ class Domain;
...
@@ -24,7 +24,6 @@ class Domain;
enum
class
PlaylistResult
{
enum
class
PlaylistResult
{
SUCCESS
,
SUCCESS
,
ERRNO
,
DENIED
,
DENIED
,
NO_SUCH_SONG
,
NO_SUCH_SONG
,
NO_SUCH_LIST
,
NO_SUCH_LIST
,
...
...
src/command/CommandError.cxx
View file @
2e55d561
...
@@ -36,10 +36,6 @@ print_playlist_result(Response &r, PlaylistResult result)
...
@@ -36,10 +36,6 @@ print_playlist_result(Response &r, PlaylistResult result)
case
PlaylistResult
:
:
SUCCESS
:
case
PlaylistResult
:
:
SUCCESS
:
return
CommandResult
::
OK
;
return
CommandResult
::
OK
;
case
PlaylistResult
:
:
ERRNO
:
r
.
Error
(
ACK_ERROR_SYSTEM
,
strerror
(
errno
));
return
CommandResult
::
ERROR
;
case
PlaylistResult
:
:
DENIED
:
case
PlaylistResult
:
:
DENIED
:
r
.
Error
(
ACK_ERROR_PERMISSION
,
"Access denied"
);
r
.
Error
(
ACK_ERROR_PERMISSION
,
"Access denied"
);
return
CommandResult
::
ERROR
;
return
CommandResult
::
ERROR
;
...
...
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