summaryrefslogtreecommitdiff
path: root/res/parking
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2015-04-06 18:18:32 +0000
committerMatthew Jordan <mjordan@digium.com>2015-04-06 18:18:32 +0000
commit0543879228048f6580a75b098fb9f3a5ccec1ed8 (patch)
tree4f69772e51ee7aceb67114af7119ccab5cdb09e9 /res/parking
parente309a91e2de399f4b1e34fb0b031cc3b78975354 (diff)
clang compiler warnings: Remove large chunks of unused code from extconf
This patch fixes a warning caught by clang, in which it detected that large chunks of extconf were unused. Frankly, I wish we could pretend that all of extconf was unused, but alas, that is not yet the case. A few extraneous functions in the parking tests were removed as well, for the same reason. Review: https://reviewboard.asterisk.org/r/4553 ASTERISK-24917 Reported by: dkdegroot patches: rb4553.patch submitted by dkdegroot (License 6600) ........ Merged revisions 434093 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 434097 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@434099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/parking')
-rw-r--r--res/parking/parking_tests.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/res/parking/parking_tests.c b/res/parking/parking_tests.c
index ee01a7165..91cea2653 100644
--- a/res/parking/parking_tests.c
+++ b/res/parking/parking_tests.c
@@ -137,15 +137,6 @@ static void do_sleep(struct timespec *to_sleep)
}
}
-static int fake_fixup(struct ast_channel *clonechan, struct ast_channel *original)
-{
- return 0;
-}
-
-static const struct ast_channel_tech fake_tech = {
- .fixup = fake_fixup, /* silence warning from masquerade... though those shouldn't be happening now */
-};
-
#define TEST_LOT_NAME "unit_tests_res_parking_test_lot"
static struct parking_lot *generate_test_parking_lot(const char *name, int low_space, int high_space, const char *park_exten, const char *park_context, struct ast_test *test)