system_settings_form() has an extra parameter; without it, default values are filled in for you automatically from system variables: http://api.drupal.org/api/function/system_settings_form/7
system_settings_form($form, $automatic_defaults = TRUE)

Needs includingin http://drupal.org/update/modules/6/7 with any extra details.

Comments

jhodgdon’s picture

This should be filed as a reopening of the issue where the function was actually changed (setting the status to "Needs work" and adding a tag "Needs Documentation").

Will have to do some research to find the original issue...

jhodgdon’s picture

Status: Active » Closed (duplicate)

Here's the real issue, which is still in progress, which is why it hasn't been documented yet. I have added the needs doc tag to the issue, and am closing this issue as a duplicate.
#266246: Add smart defaults for system_settings_form