diff --git a/src/sacct/options.c b/src/sacct/options.c
index 14cc9880032ed6ae9b532e3061acac345c85da31..91cef4cd28ea941e98c016736186d480d9af38b6 100644
--- a/src/sacct/options.c
+++ b/src/sacct/options.c
@@ -57,7 +57,6 @@ void _help_msg(void);
 void _usage(void);
 void _init_params();
 
-int selected_state[STATE_COUNT];
 List selected_parts = NULL;
 List selected_steps = NULL;
 void *acct_db_conn = NULL;
diff --git a/src/sacct/sacct.h b/src/sacct/sacct.h
index 3380b0a271b9a6484a92323764b2655a2a6ca36d..40b2f76c2697adbf8e46dca0322e12ae95b52858 100644
--- a/src/sacct/sacct.h
+++ b/src/sacct/sacct.h
@@ -71,8 +71,6 @@
 
 #define LONG_COMP_FIELDS "jobid,uid,jobname,partition,nnodes,nodelist,state,start,end,timelimit"
 
-#define STATE_COUNT 10
-
 #define MAX_PRINTFIELDS 100
 #define FORMAT_STRING_SIZE 34