Menu

#9 Remove code that blank variables

rejected
Zangune
code (4)
enhancement
Irrelevant
medium
2026-01-31
2014-09-29
Zangune
No

This is unneeded mostly unneeded.

:::batch
::
:: Blank ports number variables, foolproof
::
SET TcpPort=
SET UdpPort=
SET WebServerPort=
SET MobileMulePort=
SET ProxyPort=
SET ServerUdpPort=
SET PeerCachePort=

Discussion

  • Zangune

    Zangune - 2014-10-13

    Merged in version 0.0.8

     
  • Zangune

    Zangune - 2015-04-21

    Indeed I used:

    IF NOT DEFINED TcpPort SET TcpPort=%%T
    

    so stripping all the code is a bad idea; indeed, removing the unneeded part removes unneeded code and is good. I rewrote the routine to find ports and now I will reintroduce just the needed part:

    :::batch
    ::
    :: Unset to avoid an old variable to mess up next cycle
    ::
    SET UdpPort=
    
     

    Last edit: Zangune 2018-01-17
  • Zangune

    Zangune - 2015-04-21
    • status: closed --> rejected
     
  • Zangune

    Zangune - 2015-04-21

    Added foolproof code for another variable in [0.16]

     

    Related

    Code: 0.16


    Last edit: Zangune 2015-05-13
  • Zangune

    Zangune - 2026-01-31
    • labels: strippable --> code
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB