Description: Fix ftbfs with GCC-10 The enum variable is not used, use it as typedef. Author: Sudip Mukherjee Bug-Debian: https://bugs.debian.org/957380 Forwarded: no --- --- istgt-0.4~20111008.orig/src/istgt_lu.h +++ istgt-0.4~20111008/src/istgt_lu.h @@ -270,13 +270,13 @@ typedef struct istgt_lu_cmd_t { } ISTGT_LU_CMD; typedef ISTGT_LU_CMD *ISTGT_LU_CMD_Ptr; -enum { +typedef enum { ISTGT_LU_TASK_RESULT_IMMEDIATE = 0, ISTGT_LU_TASK_RESULT_QUEUE_OK = 1, ISTGT_LU_TASK_RESULT_QUEUE_FULL = 2, } ISTGT_LU_TASK_RESULT; -enum { +typedef enum { ISTGT_LU_TASK_RESPONSE = 0, ISTGT_LU_TASK_REQPDU = 1, } ISTGT_LU_TASK_TYPE;