fix for warning C4204: non-constant aggregate initializer
Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
575200952a
commit
8321939c90
2 changed files with 7 additions and 3 deletions
|
|
@ -216,11 +216,14 @@ int nfs41_server_find_or_create(
|
|||
IN const netaddr4 *addr,
|
||||
OUT nfs41_server **server_out)
|
||||
{
|
||||
const struct server_info info = { server_scope, server_owner_major_id };
|
||||
struct server_info info;
|
||||
struct list_entry *entry;
|
||||
nfs41_server *server;
|
||||
int status;
|
||||
|
||||
info.owner = server_owner_major_id;
|
||||
info.scope = server_scope;
|
||||
|
||||
dprintf(SRVLVL, "--> nfs41_server_find_or_create(%s)\n", info.owner);
|
||||
|
||||
EnterCriticalSection(&g_server_list.lock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue