]> Nishi Git Mirror - gwion.git/commitdiff
:art: cleaning
authorJérémie Astor <fennecdjay@gmail.com>
Mon, 16 Aug 2021 10:45:32 +0000 (12:45 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Mon, 16 Aug 2021 10:45:32 +0000 (12:45 +0200)
include/env/nspc.h

index 920c3cb811da52f12589830930eb6f6fca01fec7..6ebe139c991f2ec5b5ed341bca1a06c526c4a61b 100644 (file)
@@ -72,12 +72,6 @@ describe_nspc_func(Value, value) describe_nspc_func(Type, type)
 ANN void did_you_mean_type(const Type, const char *);
 ANN void did_you_mean_trait(Nspc nspc, const char *name);
 
-#define DID_YOU_MEAN_LIMIT 128
-#define did_you_mean_nspc(a, b)                                                \
-  if (strlen(b) < DID_YOU_MEAN_LIMIT) did_you_mean_nspc(a, b);
-#define did_you_mean_type(a, b)                                                \
-  if (strlen(b) < DID_YOU_MEAN_LIMIT) did_you_mean_type(a, b);
-
 ANN static inline void nspc_allocdata(MemPool mp, const Nspc nspc) {
   if (nspc->class_data_size) {
     nspc->class_data =