1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

curl_sasl: declare mechtable static

struct mechtable is only used locally here. It can be declared static.
This commit is contained in:
Martin Kepplinger 2017-04-04 22:04:38 +02:00 committed by Daniel Stenberg
parent 36e604fc78
commit 2d4413fefd

View File

@ -50,7 +50,7 @@
#include "memdebug.h"
/* Supported mechanisms */
const struct {
static const struct {
const char *name; /* Name */
size_t len; /* Name length */
unsigned int bit; /* Flag bit */