mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed compiler warnings
Fixed random failure in test system BUILD/compile-solaris-sparc: Addex EXTRA_FLAGS to configure line (to get rid of warnings for not initialzed variables on buildbot) cmd-line-utils/libedit/filecomplete.c: Remove not used variables mysql-test/suite/rpl/r/rpl_optimize.result: Updated result mysql-test/suite/rpl/t/rpl_optimize.test: Use sync_salve_with_master to ensure cleanup on slave support-files/compiler_warnings.supp: Added suppression of libedit files
This commit is contained in:
@ -95,10 +95,9 @@ static char break_chars[] = { ' ', '\t', '\n', '"', '\\', '\'', '`', '@', '$',
|
||||
char *
|
||||
fn_tilde_expand(const char *txt)
|
||||
{
|
||||
struct passwd pwres, *pass;
|
||||
struct passwd *pass;
|
||||
char *temp;
|
||||
size_t len = 0;
|
||||
char pwbuf[1024];
|
||||
|
||||
if (txt[0] != '~')
|
||||
return (strdup(txt));
|
||||
|
Reference in New Issue
Block a user