What is the shelf life of pickled gherkins stored dry?
You might see some loss of quality within a couple of months, but under refrigeration they will not become close to "unsafe" in that length of time. They're already "pickled", the worst you will face is dried out pickles. You can always add more "pickle" in the form of vinegar, salt, sugar and water (boiled and cooled), but it seems pretty unnecessary - two potato salads and you're done with them.