Hi, I would like to get some clarification on some problem. When I was
build the project I've seen some warnings one of
them(plugin/innobase/xtrabackup/xtrabackup.cc:135:27: warning: redundant
redeclaration of ‘ulint recv_find_max_checkpoint(log_group_t**, ulint*)’ in
same scope [-Wredundant-decls]
). I had seen in code and some idea not understood.

#include "xtrabackup_api.h"

  /* prototypes for static functions in original */

 ulint

 recv_find_max_checkpoint(

 /*=====================*/

                                         /* out: error code or DB_SUCCESS */

         log_group_t**  max_group,      /* out: max group */

         ulint*         max_field);     /* out: LOG_CHECKPOINT_1 or

                                         LOG_CHECKPOINT_2 */

*recv_find_max_checkpoint - has already been declareted im
xtrabackup_api.h. Why is declareted * recv_find_max_checkpoint *again
? And why not use directive #ifndef ... #endif?*
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to