From: Hannah von Reth Date: Tue, 3 Mar 2020 15:47:42 +0000 (+0100) Subject: Remove unused defines X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~129 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a9728b527abd83ccb85da423278340e77e7d9413;p=nextcloud-desktop.git Remove unused defines --- diff --git a/src/csync/csync.h b/src/csync/csync.h index 0d2cc9505..0c54a1f12 100644 --- a/src/csync/csync.h +++ b/src/csync/csync.h @@ -165,23 +165,6 @@ Q_ENUM_NS(ItemType) using namespace CSyncEnums; using CSYNC_STATUS = CSyncEnums::csync_status_codes_e; - -#ifndef likely -#define likely(x) (x) -#endif -#ifndef unlikely -#define unlikely(x) (x) -#endif - -#define CSYNC_STATUS_IS_OK(x) (likely((x) == CSYNC_STATUS_OK)) -#define CSYNC_STATUS_IS_ERR(x) (unlikely((x) >= CSYNC_STATUS_ERROR)) -#define CSYNC_STATUS_IS_EQUAL(x, y) ((x) == (y)) - -#define FILE_ID_BUF_SIZE 36 - -// currently specified at https://github.com/owncloud/core/issues/8322 are 9 to 10 -#define REMOTE_PERM_BUF_SIZE 15 - typedef struct csync_file_stat_s csync_file_stat_t; struct OCSYNC_EXPORT csync_file_stat_s {