Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mdsmisc/ScopeUtilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,9 @@ EXPORT int GetXYSignalXd(mdsdsc_t *const inY, mdsdsc_t *const inX,
return TdiNULL_PTR;
EMPTYXD(yXd);
EMPTYXD(xXd);
EMPTYXD(title);
EMPTYXD(xLabel);
EMPTYXD(yLabel);
int estimatedSegmentSamples = 0;
int isLong = FALSE;
double xmin = -INFINITY, xmax = INFINITY; // requested
Expand Down Expand Up @@ -936,9 +939,6 @@ EXPORT int GetXYSignalXd(mdsdsc_t *const inY, mdsdsc_t *const inX,
if (STATUS_NOT_OK)
goto return_err;
// Get Y, title, and yLabel, if any
EMPTYXD(title);
EMPTYXD(xLabel);
EMPTYXD(yLabel);
recGetHelp(yXd.pointer, &title);
recGetUnits(yXd.pointer, &yLabel);
// Get X
Expand Down