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
7d51c359
Commit
7d51c359
authored
May 14, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix GCC -Wnonnull
parent
11147bea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
client/mysqltest.cc
client/mysqltest.cc
+5
-4
No files found.
client/mysqltest.cc
View file @
7d51c359
...
...
@@ -587,9 +587,10 @@ ATTRIBUTE_NORETURN
static
void
cleanup_and_exit
(
int
exit_code
);
ATTRIBUTE_NORETURN
void
really_die
(
const
char
*
msg
);
static
void
really_die
(
const
char
*
msg
);
void
report_or_die
(
const
char
*
fmt
,
...);
void
die
(
const
char
*
fmt
,
...);
ATTRIBUTE_NORETURN
static
void
die
(
const
char
*
fmt
,
...);
static
void
make_error_message
(
char
*
buf
,
size_t
len
,
const
char
*
fmt
,
va_list
args
);
ATTRIBUTE_NORETURN
ATTRIBUTE_FORMAT
(
printf
,
1
,
2
)
void
abort_not_supported_test
(
const
char
*
fmt
,
...);
...
...
@@ -1554,7 +1555,7 @@ static void make_error_message(char *buf, size_t len, const char *fmt, va_list a
s
+=
my_snprintf
(
s
,
end
-
s
,
"
\n
"
,
start_lineno
);
}
void
die
(
const
char
*
fmt
,
...)
static
void
die
(
const
char
*
fmt
,
...)
{
char
buff
[
DIE_BUFF_SIZE
];
va_list
args
;
...
...
@@ -1563,7 +1564,7 @@ void die(const char *fmt, ...)
really_die
(
buff
);
}
void
really_die
(
const
char
*
msg
)
static
void
really_die
(
const
char
*
msg
)
{
static
int
dying
=
0
;
fflush
(
stdout
);
...
...
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