Skip to content

Fix uninitialized warnings from dir_path and path - #2

Open
timgimyee wants to merge 1 commit into
houseabsolute:masterfrom
timgimyee:prc
Open

Fix uninitialized warnings from dir_path and path#2
timgimyee wants to merge 1 commit into
houseabsolute:masterfrom
timgimyee:prc

Conversation

@timgimyee

Copy link
Copy Markdown

Use empty string “” when dir_path or path return undef. This addresses
bug 55159.

Use empty string “” when dir_path or path return undef.  This addresses
bug 55159.
@autarch

autarch commented Feb 13, 2016

Copy link
Copy Markdown
Member

I'm sorry I never commented on this earlier. This looks sane but it really needs a test or two. Also, I wonder if it might be sane to simply make the the dir_path attribute value default to the empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants