[Pvfs2-cvs] commit by slang in pvfs2/src/client/sysint: client-state-machine.c sys-getattr.sm

CVS commit program cvs at parl.clemson.edu
Mon Apr 14 11:00:50 EDT 2008


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb1:/tmp/cvs-serv3966/src/client/sysint

Modified Files:
      Tag: pvfs-2-7-branch
	client-state-machine.c sys-getattr.sm 
Log Message:
get rid of warnings


Index: client-state-machine.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/client-state-machine.c,v
diff -p -u -r1.88.2.3 -r1.88.2.4
--- client-state-machine.c	1 Apr 2008 23:25:04 -0000	1.88.2.3
+++ client-state-machine.c	14 Apr 2008 15:00:50 -0000	1.88.2.4
@@ -352,7 +352,7 @@ PVFS_error PINT_client_state_machine_pos
     PINT_sm_action sm_ret;
     PVFS_error ret = -PVFS_EINVAL;
     job_status_s js;
-    int pvfs_sys_op = PINT_smcb_op(smcb);
+    int pvfs_sys_op __attribute__((unused)) = PINT_smcb_op(smcb);
     PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
 
     gossip_debug(GOSSIP_CLIENT_DEBUG,

Index: sys-getattr.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-getattr.sm,v
diff -p -u -r1.109 -r1.109.2.1
--- sys-getattr.sm	30 Aug 2007 00:13:41 -0000	1.109
+++ sys-getattr.sm	14 Apr 2008 15:00:50 -0000	1.109.2.1
@@ -621,7 +621,7 @@ static int getattr_object_getattr_comp_f
 static PINT_sm_action getattr_object_getattr_failure(
         struct PINT_smcb *smcb, job_status_s *js_p)
 {
-    struct PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
+    struct PINT_client_sm *sm_p __attribute__((unused)) = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
     gossip_debug(
         GOSSIP_CLIENT_DEBUG,
         "(%p) getattr state: getattr_object_getattr_failure\n", sm_p);
@@ -717,7 +717,7 @@ static int getattr_datafile_getattr_comp
 static PINT_sm_action getattr_datafile_getattr_failure(
         struct PINT_smcb *smcb, job_status_s *js_p)
 {
-    struct PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
+    struct PINT_client_sm *sm_p __attribute__((unused)) = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
     gossip_debug(GOSSIP_CLIENT_DEBUG, "(%p) getattr state: "
                  "getattr_datafile_getattr_failure\n", sm_p);
     return SM_ACTION_COMPLETE;



More information about the Pvfs2-cvs mailing list