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
044f2561
Commit
044f2561
authored
Feb 09, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shout: removed shout_data.shout_error
That variable is set in handle_shout_error(), but is never read.
parent
cde4cb94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
shout_plugin.c
src/output/shout_plugin.c
+0
-3
shout_plugin.h
src/output/shout_plugin.h
+0
-1
No files found.
src/output/shout_plugin.c
View file @
044f2561
...
@@ -276,14 +276,12 @@ static int handle_shout_error(struct shout_data *sd, int err)
...
@@ -276,14 +276,12 @@ static int handle_shout_error(struct shout_data *sd, int err)
shout_get_host
(
sd
->
shout_conn
),
shout_get_host
(
sd
->
shout_conn
),
shout_get_port
(
sd
->
shout_conn
),
shout_get_port
(
sd
->
shout_conn
),
shout_get_error
(
sd
->
shout_conn
));
shout_get_error
(
sd
->
shout_conn
));
sd
->
shout_error
=
1
;
return
-
1
;
return
-
1
;
default:
default:
g_warning
(
"shout: connection to %s:%i error: %s
\n
"
,
g_warning
(
"shout: connection to %s:%i error: %s
\n
"
,
shout_get_host
(
sd
->
shout_conn
),
shout_get_host
(
sd
->
shout_conn
),
shout_get_port
(
sd
->
shout_conn
),
shout_get_port
(
sd
->
shout_conn
),
shout_get_error
(
sd
->
shout_conn
));
shout_get_error
(
sd
->
shout_conn
));
sd
->
shout_error
=
1
;
return
-
1
;
return
-
1
;
}
}
...
@@ -429,7 +427,6 @@ static int open_shout_conn(void *data)
...
@@ -429,7 +427,6 @@ static int open_shout_conn(void *data)
write_page
(
sd
);
write_page
(
sd
);
sd
->
shout_error
=
0
;
sd
->
opened
=
true
;
sd
->
opened
=
true
;
sd
->
tag_to_send
=
1
;
sd
->
tag_to_send
=
1
;
sd
->
conn_attempts
=
0
;
sd
->
conn_attempts
=
0
;
...
...
src/output/shout_plugin.h
View file @
044f2561
...
@@ -61,7 +61,6 @@ struct shout_data {
...
@@ -61,7 +61,6 @@ struct shout_data {
shout_t
*
shout_conn
;
shout_t
*
shout_conn
;
shout_metadata_t
*
shout_meta
;
shout_metadata_t
*
shout_meta
;
int
shout_error
;
const
struct
shout_encoder_plugin
*
encoder
;
const
struct
shout_encoder_plugin
*
encoder
;
void
*
encoder_data
;
void
*
encoder_data
;
...
...
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