Clean up whitespace and remove unneeded variable initialization as found by

Clang.
This commit is contained in:
Brett Cannon 2010-05-03 23:42:40 +00:00
parent 99ac9147cb
commit 9824e7f57c
1 changed files with 52 additions and 56 deletions

View File

@ -498,7 +498,6 @@ audioop_findfit(PyObject *self, PyObject *args)
best_result = result;
best_j = 0;
j = 0;
for (j=1; j<=len1-len2; j++) {
aj_m1 = (double)cp1[j-1];
@ -584,7 +583,6 @@ audioop_findmax(PyObject *self, PyObject *args)
best_result = result;
best_j = 0;
j = 0;
for (j=1; j<=len1-len2; j++) {
aj_m1 = (double)cp1[j-1];
@ -1434,7 +1432,6 @@ audioop_lin2adpcm(PyObject *self, PyObject *args)
if ( state == Py_None ) {
/* First time, it seems. Set defaults */
valpred = 0;
step = 7;
index = 0;
} else if ( !PyArg_ParseTuple(state, "ii", &valpred, &index) )
return 0;
@ -1536,7 +1533,6 @@ audioop_adpcm2lin(PyObject *self, PyObject *args)
if ( state == Py_None ) {
/* First time, it seems. Set defaults */
valpred = 0;
step = 7;
index = 0;
} else if ( !PyArg_ParseTuple(state, "ii", &valpred, &index) )
return 0;