readability-redundant-function-ptr-dereference¶
查找函数指针的冗余解引用。
之前
int f(int,int);
int (*p)(int, int) = &f;
int i = (**p)(10, 50);
之后
int f(int,int);
int (*p)(int, int) = &f;
int i = (*p)(10, 50);
查找函数指针的冗余解引用。
之前
int f(int,int);
int (*p)(int, int) = &f;
int i = (**p)(10, 50);
之后
int f(int,int);
int (*p)(int, int) = &f;
int i = (*p)(10, 50);