mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-24 20:17:57 +00:00
libbtrfsutil: comment out fd_converter()
Recent changes to the python code reworked path_converter() so that it does not use fd_converter() anymore. Assuming it may be used in the future again comment it out. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
d3cf350e21
commit
7e6e0417d1
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include "btrfsutilpy.h"
|
#include "btrfsutilpy.h"
|
||||||
|
|
||||||
|
#if 0
|
||||||
static int fd_converter(PyObject *o, void *p)
|
static int fd_converter(PyObject *o, void *p)
|
||||||
{
|
{
|
||||||
int *fd = p;
|
int *fd = p;
|
||||||
@ -40,6 +41,7 @@ static int fd_converter(PyObject *o, void *p)
|
|||||||
*fd = tmp;
|
*fd = tmp;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int path_converter(PyObject *o, void *p)
|
int path_converter(PyObject *o, void *p)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user