Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
1d9d3815
Commit
1d9d3815
authored
Sep 21, 2018
by
Payne
Committed by
Felix Lange
Sep 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypto/secp256k1: remove useless code (#17728)
`(void)data;` may cause link error on Windows.
parent
06d40d37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
secp256k1.c
crypto/secp256k1/libsecp256k1/src/secp256k1.c
+0
-2
No files found.
crypto/secp256k1/libsecp256k1/src/secp256k1.c
View file @
1d9d3815
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
} while(0)
} while(0)
static
void
default_illegal_callback_fn
(
const
char
*
str
,
void
*
data
)
{
static
void
default_illegal_callback_fn
(
const
char
*
str
,
void
*
data
)
{
(
void
)
data
;
fprintf
(
stderr
,
"[libsecp256k1] illegal argument: %s
\n
"
,
str
);
fprintf
(
stderr
,
"[libsecp256k1] illegal argument: %s
\n
"
,
str
);
abort
();
abort
();
}
}
...
@@ -37,7 +36,6 @@ static const secp256k1_callback default_illegal_callback = {
...
@@ -37,7 +36,6 @@ static const secp256k1_callback default_illegal_callback = {
};
};
static
void
default_error_callback_fn
(
const
char
*
str
,
void
*
data
)
{
static
void
default_error_callback_fn
(
const
char
*
str
,
void
*
data
)
{
(
void
)
data
;
fprintf
(
stderr
,
"[libsecp256k1] internal consistency check failed: %s
\n
"
,
str
);
fprintf
(
stderr
,
"[libsecp256k1] internal consistency check failed: %s
\n
"
,
str
);
abort
();
abort
();
}
}
...
...
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