X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=account.cpp;fp=account.cpp;h=70bfa3e5bc2338f1b5dfbf2a431c5f39a771ffb9;hb=4798232daef193da47e021879f1f6653137be8bb;hp=fc626b45121b54c8dca3ce43fc88db7a2c1d8502;hpb=f5e50181eb7b62f62c4a9a6164d78df1460798d8;p=nssm.git diff --git a/account.cpp b/account.cpp index fc626b4..70bfa3e 100644 --- a/account.cpp +++ b/account.cpp @@ -263,7 +263,6 @@ const TCHAR *well_known_username(const TCHAR *username) { if (! username) return NSSM_LOCALSYSTEM_ACCOUNT; if (str_equiv(username, NSSM_LOCALSYSTEM_ACCOUNT)) return NSSM_LOCALSYSTEM_ACCOUNT; SID *sid; - int r = username_sid(username, &sid); if (username_sid(username, &sid)) return 0; const TCHAR *well_known = well_known_sid(sid);