On 07/08/2013 10:21 PM, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)redhat.com>
Convert the type of loop iterators named 'i', 'j', k',
'ii', 'jj', 'kk', to be 'size_t' instead of 'int'
or
'unsigned int', also santizing 'ii', 'jj', 'kk' to use
the normal 'i', 'j', 'k' naming
Signed-off-by: Daniel P. Berrange <berrange(a)redhat.com>
---
tools/virsh-domain-monitor.c | 17 +++++++++--------
tools/virsh-domain.c | 41 +++++++++++++++++++++++------------------
tools/virsh-host.c | 8 ++++----
tools/virsh-interface.c | 6 +++---
tools/virsh-network.c | 6 +++---
tools/virsh-nodedev.c | 8 ++++----
tools/virsh-nwfilter.c | 6 +++---
tools/virsh-pool.c | 7 ++++---
tools/virsh-secret.c | 6 +++---
tools/virsh-snapshot.c | 12 ++++++------
tools/virsh-volume.c | 6 +++---
tools/virsh.c | 15 ++++++++-------
12 files changed, 73 insertions(+), 65 deletions(-)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 5257416..be650c2 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
In cmdUndefine(), there are two variables of int type needing conversion.
int vol_i
int tok_i
Guannan