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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1555c6d1
Commit
1555c6d1
authored
Nov 26, 2020
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings from crc32c.cc
parent
279b5f87
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
mysys/crc32/crc32c.cc
mysys/crc32/crc32c.cc
+7
-6
No files found.
mysys/crc32/crc32c.cc
View file @
1555c6d1
...
...
@@ -26,11 +26,6 @@ static inline uint32_t DecodeFixed32(const char *ptr)
return
uint4korr
(
ptr
);
}
static
inline
uint64_t
DecodeFixed64
(
const
char
*
ptr
)
{
return
uint8korr
(
ptr
);
}
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h>
...
...
@@ -343,6 +338,12 @@ static inline uint32_t LE_LOAD32(const uint8_t *p) {
}
#if defined(HAVE_SSE42) && (SIZEOF_SIZE_T == 8)
static
inline
uint64_t
DecodeFixed64
(
const
char
*
ptr
)
{
return
uint8korr
(
ptr
);
}
static
inline
uint64_t
LE_LOAD64
(
const
uint8_t
*
p
)
{
return
DecodeFixed64
(
reinterpret_cast
<
const
char
*>
(
p
));
}
...
...
@@ -364,7 +365,7 @@ static inline void Slow_CRC32(uint64_t* l, uint8_t const **p) {
table0_
[
c
>>
24
];
}
static
inline
void
Fast_CRC32
(
uint64_t
*
l
,
uint8_t
const
**
p
)
{
__attribute__
((
unused
))
static
inline
void
Fast_CRC32
(
uint64_t
*
l
,
uint8_t
const
**
p
)
{
#ifndef HAVE_SSE42
Slow_CRC32
(
l
,
p
);
#elif (SIZEOF_SIZE_T == 8)
...
...
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