diff options
author | Roman Rakus <rrakus@redhat.com> | 2013-09-02 15:39:00 +0200 |
---|---|---|
committer | Roman Rakus <rrakus@redhat.com> | 2013-09-02 15:45:55 +0200 |
commit | a166951313d560492c07563d34f7932b1df43a1d (patch) | |
tree | 8a009f3db7375daa2bb6ea35efb7b9152798e5c9 /src | |
parent | e658e0d706edd66e544d4de63b5ee979e817a8a8 (diff) | |
download | openlmi-providers-a166951313d560492c07563d34f7932b1df43a1d.tar.gz openlmi-providers-a166951313d560492c07563d34f7932b1df43a1d.tar.xz openlmi-providers-a166951313d560492c07563d34f7932b1df43a1d.zip |
Account: Remove unused code
Signed-off-by: Roman Rakus <rrakus@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/account/LMI_AccountSettingDataProvider.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/account/LMI_AccountSettingDataProvider.c b/src/account/LMI_AccountSettingDataProvider.c index 92d3b28..4c51cee 100644 --- a/src/account/LMI_AccountSettingDataProvider.c +++ b/src/account/LMI_AccountSettingDataProvider.c @@ -58,26 +58,6 @@ static CMPIStatus LMI_AccountSettingDataEnumInstances( const CMPIObjectPath* cop, const char** properties) { -#if 0 - LMI_AccountSettingData lasd; - - const char *nameSpace = KNameSpace(cop); - - struct lu_context *luc = NULL; - struct lu_error *error = NULL; - - luc = lu_start(NULL, lu_user, NULL, NULL, lu_prompt_console_quiet, NULL, &error); - if (!luc) - { - fprintf(stderr, "Error initializing: %s\n", lu_strerror(error)); - exit(1); - } - - const char * mpe = lu_cfg_read_single(luc, "userdefaults/"LU_SHADOWMAX, - NULL); - fprintf(stderr, "Read single: %s\n", mpe); - LMI_AccountSettingData_Init(&lasd, _cb, nameSpace); -#endif CMReturn(CMPI_RC_OK); } |