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
33a2c01e
Commit
33a2c01e
authored
Feb 04, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db/Simple: remove unused function db_get_directory()
parent
9c637df7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
22 deletions
+0
-22
StickerCommands.cxx
src/command/StickerCommands.cxx
+0
-1
DatabaseGlue.cxx
src/db/DatabaseGlue.cxx
+0
-13
DatabaseSimple.hxx
src/db/DatabaseSimple.hxx
+0
-8
No files found.
src/command/StickerCommands.cxx
View file @
33a2c01e
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#include "db/DatabaseLock.hxx"
#include "db/DatabaseLock.hxx"
#include "db/DatabasePlugin.hxx"
#include "db/DatabasePlugin.hxx"
#include "db/DatabaseGlue.hxx"
#include "db/DatabaseGlue.hxx"
#include "db/DatabaseSimple.hxx"
#include "sticker/SongSticker.hxx"
#include "sticker/SongSticker.hxx"
#include "sticker/StickerPrint.hxx"
#include "sticker/StickerPrint.hxx"
#include "sticker/StickerDatabase.hxx"
#include "sticker/StickerDatabase.hxx"
...
...
src/db/DatabaseGlue.cxx
View file @
33a2c01e
...
@@ -104,19 +104,6 @@ db_get_root(void)
...
@@ -104,19 +104,6 @@ db_get_root(void)
return
((
SimpleDatabase
*
)
db
)
->
GetRoot
();
return
((
SimpleDatabase
*
)
db
)
->
GetRoot
();
}
}
Directory
*
db_get_directory
(
const
char
*
name
)
{
if
(
db
==
nullptr
)
return
nullptr
;
Directory
*
music_root
=
db_get_root
();
if
(
name
==
nullptr
)
return
music_root
;
return
music_root
->
LookupDirectory
(
name
);
}
bool
bool
db_save
(
Error
&
error
)
db_save
(
Error
&
error
)
{
{
...
...
src/db/DatabaseSimple.hxx
View file @
33a2c01e
...
@@ -49,14 +49,6 @@ Directory *
...
@@ -49,14 +49,6 @@ Directory *
db_get_root
(
void
);
db_get_root
(
void
);
/**
/**
* Caller must lock the #db_mutex.
*/
gcc_nonnull
(
1
)
gcc_pure
Directory
*
db_get_directory
(
const
char
*
name
);
/**
* May only be used if db_is_simple() returns true.
* May only be used if db_is_simple() returns true.
*/
*/
bool
bool
...
...
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