Mark callback parameters as 'intentionally unused'
[notion.git] / libextl / misc.c
blob1cdda459609b3cd994b159630fced335e2048442
1 /*
2 * libextl/misc.c
4 * Copyright (c) Tuomo Valkonen 2004-2005.
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
12 #include "private.h"
15 bool extl_obj_error(int ndx, const char *got, const char *wanted)
17 extl_warn(TR("Type checking failed in level 2 call handler for "
18 "parameter %d (got %s, expected %s)."),
19 ndx, got ? got : "nil", wanted);
21 return FALSE;