Skip to content

Commit 129c9c5

Browse files
committed
Fix indentation.
1 parent 10cfee0 commit 129c9c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

yara-python.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,6 +1567,7 @@ static PyObject* Rules_match(
15671567

15681568
Rules* object = (Rules*) self;
15691569

1570+
YR_SCANNER* scanner;
15701571
CALLBACK_DATA callback_data;
15711572

15721573
callback_data.matches = NULL;
@@ -1644,12 +1645,12 @@ static PyObject* Rules_match(
16441645
}
16451646
}
16461647

1647-
YR_SCANNER* scanner;
1648-
if (yr_scanner_create(object->rules, &scanner) != 0) {
1648+
if (yr_scanner_create(object->rules, &scanner) != 0)
1649+
{
16491650
return PyErr_Format(
16501651
PyExc_Exception,
16511652
"could not create scanner");
1652-
}
1653+
}
16531654

16541655
if (externals != NULL && externals != Py_None)
16551656
{

0 commit comments

Comments
 (0)