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
0dccadff
Commit
0dccadff
authored
Apr 24, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sticker/Database: remove unused function sticker_get_value()
parent
5a915eb0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
21 deletions
+0
-21
StickerDatabase.cxx
src/sticker/StickerDatabase.cxx
+0
-10
StickerDatabase.hxx
src/sticker/StickerDatabase.hxx
+0
-11
No files found.
src/sticker/StickerDatabase.cxx
View file @
0dccadff
...
...
@@ -314,16 +314,6 @@ sticker_delete_value(const char *type, const char *uri, const char *name)
return
modified
;
}
const
char
*
sticker_get_value
(
const
Sticker
&
sticker
,
const
char
*
name
)
noexcept
{
auto
i
=
sticker
.
table
.
find
(
name
);
if
(
i
==
sticker
.
table
.
end
())
return
nullptr
;
return
i
->
second
.
c_str
();
}
void
sticker_foreach
(
const
Sticker
&
sticker
,
void
(
*
func
)(
const
char
*
name
,
const
char
*
value
,
...
...
src/sticker/StickerDatabase.hxx
View file @
0dccadff
...
...
@@ -109,17 +109,6 @@ bool
sticker_delete_value
(
const
char
*
type
,
const
char
*
uri
,
const
char
*
name
);
/**
* Determines a single value in a sticker.
*
* @param sticker the sticker object
* @param name the name of the sticker
* @return the sticker value, or nullptr if none was found
*/
gcc_pure
const
char
*
sticker_get_value
(
const
Sticker
&
sticker
,
const
char
*
name
)
noexcept
;
/**
* Iterates over all sticker items in a sticker.
*
* @param sticker the sticker object
...
...
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