Skip to content

Commit

Permalink
fix unused variable issue on non-macOS testing (#34970)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiel-apple authored Aug 14, 2024
1 parent e1f29bd commit 51dbf0a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@

static unsigned sAppRunnerIndex = 1;

#if HAVE_NSTASK
// kBasePort gets the discriminator added to it to figure out the port the app
// should be using. This ensures that apps with distinct discriminators use
// distinct ports.
static const uint16_t kMinDiscriminator = 1111;
static const uint16_t kBasePort = 5542 - kMinDiscriminator;
#endif // HAVE_NSTASK

@implementation MTRTestServerAppRunner {
unsigned _uniqueIndex;
Expand Down

0 comments on commit 51dbf0a

Please sign in to comment.