Repository: firebase/firebase-ios-sdk (language: cpp)

Issue:
Xcode 14 & Firestore (9.6.0) Warning
### Description

I have installed the latest Firebase pod version as 9.6.0. I started to receive following Firestore (set_util.h) warning message in my iOS project as follows;

<img width="976" alt="Firestore" src="https://user-images.githubusercontent.com/26038249/190591429-30b6112c-ac38-4451-8924-1f4877d3d78e.png">


### Reproducing the issue

_No response_

### Firebase SDK Version

9.6.0

### Xcode Version

14.0

### Installation Method

CocoaPods

### Firebase Product(s)

Firestore

### Targeted Platforms

iOS

### Relevant Log Output

_No response_

### If using Swift Package Manager, the project's Package.resolved

<!--- Look below for instructions on how to share your Package.resolved. --->

<details>
<summary>Expand <code>Package.resolved</code> snippet</summary>
<br>

```json

Replace this line with the contents of your Package.resolved.

```

</details>


### If using CocoaPods, the project's Podfile.lock

<!--- Look below for instructions on how to share your Podfile.lock. --->

<details>
<summary>Expand <code>Podfile.lock</code> snippet</summary>
<br>

```yml

Replace this line with the contents of your Podfile.lock!

```

</details>



Discussion / hints:
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Thanks for reporting, @Sunrise17. I suspect this was caused by the [recent release](https://firebase.google.com/support/release-notes/ios#cloud-firestore) in Firestore. I'll raise this to the team and see what we can do here. 

Fix patch:
diff --git a/Firestore/CHANGELOG.md b/Firestore/CHANGELOG.md
index 254305c14b0..3fe548fa2e2 100644
--- a/Firestore/CHANGELOG.md
+++ b/Firestore/CHANGELOG.md
@@ -1,4 +1,7 @@
 # Unreleased
+- [fixed] Fixed compiler warning about `@param comparator` (#10226).
+
+# 9.6.0
 - [added] Expose client side indexing feature with `FIRFirestore.setIndexConfigurationFromJSON` and
   `FIRFirestore.setIndexConfigurationFromStream` (#10090).
 - [fixed] Fixed high CPU usage whenever Firestore was in use (#10168).
diff --git a/Firestore/core/src/util/set_util.h b/Firestore/core/src/util/set_util.h
index c8b1778373b..552d67fa305 100644
--- a/Firestore/core/src/util/set_util.h
+++ b/Firestore/core/src/util/set_util.h
@@ -36,7 +36,7 @@ namespace util {
  *
  * @param existing - The elements that exist in the original set.
  * @param new_entries - The elements to diff against the original set.
- * @param comparator - The comparator for the elements in before and after.
+ * @param cmp - The comparator for the elements in before and after.
  * @param on_add - A function to invoke for every element that is part of `
  * after` but not `before`.
  * @param on_remove - A function to invoke for every element that is part of


Test patch: