Show More
@@ -2885,7 +2885,7 b' PyTypeObject HgRevlogIndex_Type = {' | |||
|
2885 | 2885 | */ |
|
2886 | 2886 | PyObject *parse_index2(PyObject *self, PyObject *args) |
|
2887 | 2887 | { |
|
2888 |
PyObject |
|
|
2888 | PyObject *cache = NULL; | |
|
2889 | 2889 | indexObject *idx; |
|
2890 | 2890 | int ret; |
|
2891 | 2891 | |
@@ -2906,15 +2906,11 b' PyObject *parse_index2(PyObject *self, P' | |||
|
2906 | 2906 | Py_INCREF(cache); |
|
2907 | 2907 | } |
|
2908 | 2908 | |
|
2909 |
|
|
|
2910 | if (!tuple) | |
|
2911 | goto bail; | |
|
2912 | return tuple; | |
|
2909 | return Py_BuildValue("NN", idx, cache); | |
|
2913 | 2910 | |
|
2914 | 2911 | bail: |
|
2915 | 2912 | Py_XDECREF(idx); |
|
2916 | 2913 | Py_XDECREF(cache); |
|
2917 | Py_XDECREF(tuple); | |
|
2918 | 2914 | return NULL; |
|
2919 | 2915 | } |
|
2920 | 2916 |
General Comments 0
You need to be logged in to leave comments.
Login now