Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
78b9d5f2
Commit
78b9d5f2
authored
Mar 26, 2014
by
Leif Walsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed some unused things clang warned about
parent
6cfd5417
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
11 deletions
+1
-11
ft/fifo.cc
ft/fifo.cc
+0
-1
ft/ft-ops.cc
ft/ft-ops.cc
+0
-10
ft/quicklz.cc
ft/quicklz.cc
+1
-0
No files found.
ft/fifo.cc
View file @
78b9d5f2
...
...
@@ -102,7 +102,6 @@ struct fifo {
int
memory_used
;
// How many bytes are in use?
};
const
int
fifo_initial_size
=
4096
;
static
void
fifo_init
(
struct
fifo
*
fifo
)
{
fifo
->
n_items_in_fifo
=
0
;
fifo
->
memory
=
0
;
...
...
ft/ft-ops.cc
View file @
78b9d5f2
...
...
@@ -228,8 +228,6 @@ basement nodes, bulk fetch, and partial fetch:
#include <stdint.h>
static
const
uint32_t
this_version
=
FT_LAYOUT_VERSION
;
/* Status is intended for display to humans to help understand system behavior.
* It does not need to be perfectly thread-safe.
*/
...
...
@@ -5853,14 +5851,6 @@ toku_ft_cursor_peek(FT_CURSOR cursor, const DBT **pkey, const DBT **pval)
*
pval
=
&
cursor
->
val
;
}
//We pass in toku_dbt_fake to the search functions, since it will not pass the
//key(or val) to the heaviside function if key(or val) is NULL.
//It is not used for anything else,
//the actual 'extra' information for the heaviside function is inside the
//wrapper.
static
const
DBT
__toku_dbt_fake
=
{};
static
const
DBT
*
const
toku_dbt_fake
=
&
__toku_dbt_fake
;
bool
toku_ft_cursor_uninitialized
(
FT_CURSOR
c
)
{
return
ft_cursor_not_set
(
c
);
}
...
...
ft/quicklz.cc
View file @
78b9d5f2
...
...
@@ -311,6 +311,7 @@ static __inline void memcpy_up(unsigned char *dst, const unsigned char *src, ui3
#endif
}
__attribute__
((
unused
))
static
__inline
void
update_hash
(
qlz_state_decompress
*
state
,
const
unsigned
char
*
s
)
{
#if QLZ_COMPRESSION_LEVEL == 1
...
...
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