Skip to content

Commit

Permalink
libdrgn/python: remove dead misspelled ifdef block
Browse files Browse the repository at this point in the history
Alec Rivers noticed in #461 that WITH_LIBKDUMPFILE is misspelled as
WITH_KDUMPFILE here. The whole ifdef block isn't actually needed, so
remove it.

Fixes: 4e330bb ("cli: indicate if drgn was compiled with libkdumpfile")
Signed-off-by: Omar Sandoval <osandov@osandov.com>
  • Loading branch information
osandov committed Jan 21, 2025
1 parent b1ce3f2 commit 64d82dd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libdrgn/python/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// SPDX-License-Identifier: LGPL-2.1-or-later

#include <elfutils/libdwfl.h>
#ifdef WITH_KDUMPFILE
#include <libkdumpfile/kdumpfile.h>
#endif

#include "drgnpy.h"
#include "../path.h"
Expand Down

0 comments on commit 64d82dd

Please sign in to comment.