1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Remove obsolete comments.

This commit is contained in:
David Steele 2018-11-14 07:42:28 -05:00
parent a0b2af567a
commit 7310203491
2 changed files with 1 additions and 2 deletions

View File

@ -69,7 +69,6 @@ testRun(void)
strLstAddZ(list, "db2"); strLstAddZ(list, "db2");
cfgOptionSet(cfgOptDbInclude, cfgSourceParam, varNewVarLst(varLstNewStrLst(list))); cfgOptionSet(cfgOptDbInclude, cfgSourceParam, varNewVarLst(varLstNewStrLst(list)));
// !!! WHY DO WE STILL NEED TO CREATE THE VAR KV EMPTY?
cfgOptionValidSet(cfgOptRecoveryOption, true); cfgOptionValidSet(cfgOptRecoveryOption, true);
Variant *recoveryVar = varNewKv(); Variant *recoveryVar = varNewKv();
KeyValue *recoveryKv = varKv(recoveryVar); KeyValue *recoveryKv = varKv(recoveryVar);

View File

@ -76,7 +76,7 @@ testRun(void)
cfgOptionSet(cfgOptDbInclude, cfgSourceParam, varNewVarLst(varLstNewStrLst(includeList))); cfgOptionSet(cfgOptDbInclude, cfgSourceParam, varNewVarLst(varLstNewStrLst(includeList)));
cfgOptionValidSet(cfgOptRecoveryOption, true); cfgOptionValidSet(cfgOptRecoveryOption, true);
// !!! WHY DO WE STILL NEED TO CREATE THE VAR KV EMPTY?
Variant *recoveryVar = varNewKv(); Variant *recoveryVar = varNewKv();
KeyValue *recoveryKv = varKv(recoveryVar); KeyValue *recoveryKv = varKv(recoveryVar);
kvPut(recoveryKv, varNewStr(strNew("standby_mode")), varNewStr(strNew("on"))); kvPut(recoveryKv, varNewStr(strNew("standby_mode")), varNewStr(strNew("on")));