Jelajahi Sumber

sync.c: avoid warning about now-unused variables

* exec/sync.c (vsf_none, vsf_iface): Remove decls of now-unused
file-scoped variables.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2033 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 17 tahun lalu
induk
melakukan
373254bdb9
1 mengubah file dengan 0 tambahan dan 4 penghapusan
  1. 0 4
      exec/sync.c

+ 0 - 4
exec/sync.c

@@ -72,8 +72,6 @@ struct barrier_data {
 
 static const struct memb_ring_id *sync_ring_id;
 
-static int vsf_none = 0;
-
 static int (*sync_callbacks_retrieve) (int sync_id, struct sync_callbacks *callack);
 
 static struct sync_callbacks sync_callbacks;
@@ -92,8 +90,6 @@ static size_t barrier_data_confchg_entries;
 
 static struct barrier_data barrier_data_process[PROCESSOR_COUNT_MAX];
 
-static struct openais_vsf_iface_ver0 *vsf_iface;
-
 static int sync_barrier_send (const struct memb_ring_id *ring_id);
 
 static int sync_start_process (enum totem_callback_token_type type,