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
3fc6beef
Commit
3fc6beef
authored
Sep 13, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
locate: remove unused function locate_item_new()
parent
2ff35c8b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
locate.c
src/locate.c
+0
-13
locate.h
src/locate.h
+0
-4
No files found.
src/locate.c
View file @
3fc6beef
...
@@ -64,19 +64,6 @@ locate_item_init(struct locate_item *item,
...
@@ -64,19 +64,6 @@ locate_item_init(struct locate_item *item,
return
true
;
return
true
;
}
}
struct
locate_item
*
locate_item_new
(
const
char
*
type_string
,
const
char
*
needle
)
{
struct
locate_item
*
ret
=
g_new
(
struct
locate_item
,
1
);
if
(
!
locate_item_init
(
ret
,
type_string
,
needle
))
{
g_free
(
ret
);
ret
=
NULL
;
}
return
ret
;
}
void
void
locate_item_list_free
(
struct
locate_item_list
*
list
)
locate_item_list_free
(
struct
locate_item_list
*
list
)
{
{
...
...
src/locate.h
View file @
3fc6beef
...
@@ -49,10 +49,6 @@ struct locate_item_list {
...
@@ -49,10 +49,6 @@ struct locate_item_list {
int
int
locate_parse_type
(
const
char
*
str
);
locate_parse_type
(
const
char
*
str
);
/* returns NULL if not a known type */
struct
locate_item
*
locate_item_new
(
const
char
*
type_string
,
const
char
*
needle
);
/**
/**
* Allocates a new struct locate_item_list, and initializes all
* Allocates a new struct locate_item_list, and initializes all
* members with zero bytes.
* members with zero bytes.
...
...
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