Mercurial > hg
comparison hgext/inotify/linux/_inotify.c @ 11689:1135e42f0049
inotify: remove unused variable
author | David Soria Parra <dsp@php.net> |
---|---|
date | Sat, 24 Jul 2010 22:15:22 +0200 |
parents | 935c83ce9172 |
children | 613b8bd2284e |
comparison
equal
deleted
inserted
replaced
11688:419bd8f35050 | 11689:1135e42f0049 |
---|---|
341 | 341 |
342 static PyObject *event_repr(struct event *evt) | 342 static PyObject *event_repr(struct event *evt) |
343 { | 343 { |
344 int cookie = evt->cookie == Py_None ? -1 : PyInt_AsLong(evt->cookie); | 344 int cookie = evt->cookie == Py_None ? -1 : PyInt_AsLong(evt->cookie); |
345 PyObject *ret = NULL, *pymasks = NULL, *pymask = NULL; | 345 PyObject *ret = NULL, *pymasks = NULL, *pymask = NULL; |
346 char *maskstr; | |
347 PyObject *tuple = NULL, *formatstr = NULL; | 346 PyObject *tuple = NULL, *formatstr = NULL; |
348 | 347 |
349 pymasks = decode_mask(PyInt_AsLong(evt->mask)); | 348 pymasks = decode_mask(PyInt_AsLong(evt->mask)); |
350 if (pymasks == NULL) | 349 if (pymasks == NULL) |
351 goto bail; | 350 goto bail; |