Skip to content

Commit

Permalink
MDEV-26573 : A static analyzer warning about ds_archive.cc
Browse files Browse the repository at this point in the history
This file had not been compiled for long time.
Remove this from the tree.
  • Loading branch information
vaintroub committed Sep 15, 2021
1 parent 696de6d commit 8937762
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 318 deletions.
8 changes: 0 additions & 8 deletions extra/mariabackup/datasink.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
#include "common.h"
#include "datasink.h"
#include "ds_compress.h"
#include "ds_archive.h"
#include "ds_xbstream.h"
#include "ds_local.h"
#include "ds_stdout.h"
Expand All @@ -44,13 +43,6 @@ ds_create(const char *root, ds_type_t type)
case DS_TYPE_LOCAL:
ds = &datasink_local;
break;
case DS_TYPE_ARCHIVE:
#ifdef HAVE_LIBARCHIVE
ds = &datasink_archive;
#else
die("mariabackup was built without libarchive support");
#endif
break;
case DS_TYPE_XBSTREAM:
ds = &datasink_xbstream;
break;
Expand Down
1 change: 0 additions & 1 deletion extra/mariabackup/datasink.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ static inline int dummy_remove(const char *) {
typedef enum {
DS_TYPE_STDOUT,
DS_TYPE_LOCAL,
DS_TYPE_ARCHIVE,
DS_TYPE_XBSTREAM,
DS_TYPE_COMPRESS,
DS_TYPE_ENCRYPT,
Expand Down
281 changes: 0 additions & 281 deletions extra/mariabackup/ds_archive.cc

This file was deleted.

28 changes: 0 additions & 28 deletions extra/mariabackup/ds_archive.h

This file was deleted.

0 comments on commit 8937762

Please sign in to comment.