Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 10190] gaze where -path support
  • Date: 11 Dec 2005 18:20:29 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=10190





------- Additional Comments From acedit AT armory.com 2005-12-11 12:20 -------

> Why is the second paragraph a waste? It first sets one var and then resets
> it
> with a function which needs the just set var as a parameter. If I used an
> if/
> else, I would just duplicate code.

Its a waste because you set the variable then reset it, why bother with the
first set.

I dont see how it duplicates the code any more than its already duplicated.

if [[ $SHOW_PATH == 0 ]]; then
SECTION="$(codex_find_section_by_name $SECTION)"
else
SECTION=$(codex_get_spell_section_name $spell)
fi


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




Archive powered by MHonArc 2.6.24.

Top of Page